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.

17 lines (16 loc) 802 B
import { ElementRef, OnInit } from '@angular/core'; import { AbstractControl, NgControl } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class SdsToggleControlDirective implements OnInit { private ngControl; private elementRef; control: AbstractControl; classFormControl: boolean; type: string; id: string; constructor(ngControl: NgControl, elementRef: ElementRef<HTMLInputElement>); onChange(isChecked: boolean): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SdsToggleControlDirective, [{ optional: true; host: true; }, null]>; static ɵdir: i0.ɵɵDirectiveDeclaration<SdsToggleControlDirective, "[sdsToggleControl]", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>; }