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]
30 lines (29 loc) • 2.04 kB
TypeScript
import { ElementRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { SbThemeService } from '../../../core';
import * as i0 from "@angular/core";
declare const SbInputCoreCore: 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 SbInputCoreComponent extends SbInputCoreCore implements ControlValueAccessor {
placeholder: string;
type: string;
spellcheck: boolean;
private onChange;
private onTouch;
private innerValue;
set value(value: string);
get value(): string;
getPlaceholderClasses(): Array<string>;
constructor(elementRef: ElementRef, themeService: SbThemeService);
writeValue(value: string): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
onBlur(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SbInputCoreComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SbInputCoreComponent, "sb-input-core", never, { "size": "size"; "color": "color"; "disabled": "disabled"; "placeholder": "placeholder"; "type": "type"; "spellcheck": "spellcheck"; }, { "focus": "focus"; "blur": "blur"; }, never, never>;
}
export {};