UNPKG

ngx-mat-cdk

Version:

Extra Components for Angular Material including Filters,Drag Drop File, MatSelect Mobile Version

32 lines (31 loc) 1.22 kB
import { ElementRef, EventEmitter, Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { NgxMatDragDropFileDto } from "../../ngx-mat-drag-drop-file/ngx-mat-drag-drop-file.component"; import { NgxMatDragDropFileService } from "../../ngx-mat-drag-drop-file/ngx-mat-drag-drop-file.service"; export declare class NgxCdkAvatarPickerDirective implements OnInit, OnChanges { private injector; private el; private ngxMatDragDropFileService; constructor(injector: Injector, el: ElementRef<HTMLInputElement>, ngxMatDragDropFileService: NgxMatDragDropFileService); uploadUrl: string; additionalData: {}; value: NgxMatDragDropFileDto; valueChange: EventEmitter<NgxMatDragDropFileDto>; maxSizeMegabyte: number; size: number; hasRemove: boolean; defaultImage: string; loading: boolean; error: EventEmitter<string>; chooseLabel: string; imageSrc: string; status: any; progress: number; private avatarId; ngOnInit(): void; openFileDirectory(): void; removeFile(): void; onChangeFile(ev: any): void; private readFile; private setSource; ngOnChanges(changes: SimpleChanges): void; }