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]
34 lines (33 loc) • 2.2 kB
TypeScript
import { ElementRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { SbThemeService } from '../../core';
import * as i0 from "@angular/core";
declare const SbSelectButtonCore: import("../../core").Constructor<import("../../core").CanDisable> & import("../../core").AbstractConstructor<import("../../core").CanDisable> & import("../../core").Constructor<import("../../core").CanFocus> & import("../../core").AbstractConstructor<import("../../core").CanFocus> & 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 SbSelectButtonComponent extends SbSelectButtonCore implements ControlValueAccessor {
set isPill(isPill: boolean);
set isPlain(isPlain: boolean);
plain: boolean;
pill: boolean;
open: boolean;
options: Array<string>;
private onChange;
private onTouch;
private innerValue;
set value(value: string);
get value(): string;
constructor(elementRef: ElementRef, themeService: SbThemeService, pill: any, plain: any);
toggle(): void;
select(newOption: string): void;
writeValue(value: string): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
onBlur(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SbSelectButtonComponent, [null, null, { attribute: "pill"; optional: true; }, { attribute: "plain"; optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<SbSelectButtonComponent, "sb-select-button", never, { "size": "size"; "color": "color"; "disabled": "disabled"; "isPill": "isPill"; "isPlain": "isPlain"; "options": "options"; }, { "focus": "focus"; "blur": "blur"; }, never, ["*"]>;
}
export {};