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]
31 lines (30 loc) • 2.1 kB
TypeScript
import { ElementRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { SbThemeService } from '../../core';
import * as i0 from "@angular/core";
declare const SbFileInputCore: 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 SbFileInputComponent extends SbFileInputCore implements ControlValueAccessor {
placeholder: string;
plain: boolean;
pill: boolean;
get message(): string;
private onChange;
private onTouch;
private innerValue;
set value(value: File | undefined);
get value(): File | undefined;
constructor(elementRef: ElementRef, themeService: SbThemeService, pill: any, plain: any);
hendleInput(event: Event): void;
writeValue(value: File | undefined): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
onBlur(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SbFileInputComponent, [null, null, { attribute: "pill"; optional: true; }, { attribute: "plain"; optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<SbFileInputComponent, "sb-input[type=file]", never, { "size": "size"; "color": "color"; "disabled": "disabled"; "placeholder": "placeholder"; }, { "focus": "focus"; "blur": "blur"; }, never, never>;
}
export {};