UNPKG

@funnelback/ng-sds

Version:

`@funnelback/ng-sds` is Bootstrap 5 based library that aims to implement the [Squiz Design System specification](https://designsystem.squiz.net/) in Angular.

20 lines (19 loc) 1.14 kB
import { ElementRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import { SdsFormControlDirective } from '../../utils/form-control.directive'; import * as i0 from "@angular/core"; export declare class SdsCheckboxControlDirective extends SdsFormControlDirective { private elementRef; classFormControl: boolean; ariaChecked: true | false | 'mixed'; type: string; set checked(val: boolean); set indeterminate(val: boolean); private _checked; constructor(elementRef: ElementRef<HTMLInputElement>, ngControl: NgControl, isDisabled: unknown, isRequired: unknown); onChange(isChecked: boolean): void; private setAriaChecked; private setChecked; static ɵfac: i0.ɵɵFactoryDeclaration<SdsCheckboxControlDirective, [null, { optional: true; host: true; }, { attribute: "disabled"; }, { attribute: "required"; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<SdsCheckboxControlDirective, "[sdsCheckboxControl]", never, { "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, never, false, never>; }