EvanFileSelectComponent¶
| Source | file-select |
|---|
file selector component for HTML 5 &IOS & Anroid
Inputs¶
label-string: this component is displayed like an ionic input, defines property or hides itbuttonText-string: optional button text that should be displayed for the add buttonngModel-string: files that should be uploadeddisabled-string: disable file select or notaccept-string: input type=”file” accept attributedownloadable-string: enable download of filesminFiles-string: minimum amount of files that must be uploadedmaxFiles-string: maximum amount of files that can be uploadedmultiple-string: are multiple files allowed?
Outputs¶
onChange-string: Event emitter to tell using component, that something has changed
Example¶
- html
<evan-file-select name="attachments"
*ngIf="offer.payload.attachments"
[(ngModel)]="offer.payload.attachments"
(onChange)="ref.detectChanges()"
disabled="true"
downloadable="true">
</evan-file-select>