UNPKG

sb-element

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.1. It is a component library constructed around the SCSS library [Sb-Theming](https://github.com/SeverinBuchser/SbTheming) and supports [Angular Schematics]

27 lines (26 loc) 1.95 kB
import { ElementRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { SbThemeService } from '../../core'; import * as i0 from "@angular/core"; declare const SbToggleSwitchCore: import("../../core").Constructor<import("../../core").CanFocus> & import("../../core").AbstractConstructor<import("../../core").CanFocus> & import("../../core").Constructor<import("../../core").CanDisable> & import("../../core").AbstractConstructor<import("../../core").CanDisable> & import("../../core").Constructor<import("../../core").CanTabindex> & import("../../core").AbstractConstructor<import("../../core").CanTabindex> & import("../../core").Constructor<import("../../core").CanSize> & import("../../core").AbstractConstructor<import("../../core").CanSize> & import("../../core").Constructor<import("../../core").CanColor> & import("../../core").AbstractConstructor<import("../../core").CanColor> & import("../../core").Constructor<import("../../core").CanClassName> & import("../../core").AbstractConstructor<import("../../core").CanClassName> & { new (_elementRef: ElementRef, _themeService: SbThemeService): { _elementRef: ElementRef; _themeService: SbThemeService; }; }; export declare class SbToggleSwitchComponent extends SbToggleSwitchCore implements ControlValueAccessor { toggle(): void; private onChange; private onTouch; private innerValue; set value(value: boolean); get value(): boolean; constructor(elementRef: ElementRef, themeService: SbThemeService); writeValue(value: boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onBlur(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SbToggleSwitchComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SbToggleSwitchComponent, "sb-toggle[type=switch]", never, { "size": "size"; "color": "color"; "disabled": "disabled"; }, {}, never, never>; } export {};