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]
45 lines (44 loc) • 2.7 kB
TypeScript
import { ElementRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { SbThemeService } from '../../../core';
import * as i0 from "@angular/core";
declare const SbDoubleInputCore: 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 SbDoubleInput<T> {
first?: T;
second?: T;
constructor();
constructor(first: T | undefined, second: T | undefined);
static equals<T>(inputOne: SbDoubleInput<T>, inputTwo: SbDoubleInput<T>): boolean;
}
export declare class SbDoubleInputComponent extends SbDoubleInputCore implements ControlValueAccessor {
firstPlaceholder: string;
secondPlaceholder: string;
delimiter: string;
_type: string;
set type(type: string);
get type(): string;
spellcheck: boolean;
prefixIcon: string;
suffixIcon: string;
private onChange;
private onTouch;
private innerFirstValue;
private innerSecondValue;
set firstValue(firstValue: string);
get firstValue(): string;
set secondValue(secondValue: string);
get secondValue(): string;
constructor(elementRef: ElementRef, themeService: SbThemeService);
writeValue(value: SbDoubleInput<string>): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
protected onBlur(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SbDoubleInputComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SbDoubleInputComponent, "sb-input[type=double]", never, { "size": "size"; "color": "color"; "disabled": "disabled"; "firstPlaceholder": "firstPlaceholder"; "secondPlaceholder": "secondPlaceholder"; "delimiter": "delimiter"; "type": "type"; "spellcheck": "spellcheck"; "prefixIcon": "prefixIcon"; "suffixIcon": "suffixIcon"; }, { "focus": "focus"; "blur": "blur"; }, never, never>;
}
export {};