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]

28 lines (27 loc) 1.71 kB
import { ElementRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { SbThemeService } from '../../core'; import * as i0 from "@angular/core"; declare const SbCheckboxCore: 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").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 SbCheckboxComponent extends SbCheckboxCore implements ControlValueAccessor { name: string; label: string; private checked; set value(value: boolean); get value(): boolean; private onChange; private onTouch; constructor(elementRef: ElementRef, themeService: SbThemeService); writeValue(value: boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onBlur(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SbCheckboxComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SbCheckboxComponent, "sb-checkbox", never, { "color": "color"; "disabled": "disabled"; "name": "name"; "label": "label"; }, { "focus": "focus"; "blur": "blur"; }, never, never>; } export {};