@taiga-ui/kit
Version:
Taiga UI Angular main components kit
18 lines (17 loc) • 920 B
TypeScript
import { ChangeDetectorRef } from '@angular/core';
import { NgControl } from '@angular/forms';
import { AbstractTuiNullableControl, TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/cdk';
import { TuiBrightness, TuiModeDirective, TuiSizeL } from '@taiga-ui/core';
export declare class TuiCheckboxLabeledComponent extends AbstractTuiNullableControl<boolean> implements TuiFocusableElementAccessor {
private readonly modeDirective;
size: TuiSizeL;
private checkbox?;
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, modeDirective: TuiModeDirective | null);
get focused(): boolean;
get nativeFocusableElement(): TuiNativeFocusableElement | null;
get hostMode(): TuiBrightness | null;
onFocused(focused: boolean): void;
onHovered(hovered: boolean): void;
onPressed(pressed: boolean): void;
onModelChange(value: boolean): void;
}