UNPKG

blockui-components

Version:

Various UI-Components for Angular (V.19)

19 lines (18 loc) 1.01 kB
import { EventEmitter, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; export declare class FileInputComponent implements OnInit { label: string; accept: string[]; multiple: boolean; filesSelected: EventEmitter<File[]>; protected selectedFiles: File[]; protected previewImages: string[]; ngOnInit(): void; protected selectFile(event: any): void; protected getFileExtension(file: File): string; protected isAllowedExtension(extension: string): boolean; protected getAllowedExtensionsString(): string; protected removeFile(index: number): void; static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent, "block-file-input", never, { "label": { "alias": "label"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, { "filesSelected": "filesSelected"; }, never, never, true, never>; }