Created
December 20, 2020 15:32
-
-
Save jayprajapati857/f1bf26644d0fd144a00f4d8deab2dc31 to your computer and use it in GitHub Desktop.
Html sample for ngx-uploader-directive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="drop-container" ngxFileDrop [options]="options" (uploadOutput)="onUploadOutput($event)" | |
[uploadInput]="uploadInput" [ngClass]="{ 'is-drop-over': dragOver }"> | |
<h1>Drag & Drop</h1> | |
</div> | |
<label class="upload-button"> | |
<input type="file" ngxFileSelect [options]="options" (uploadOutput)="onUploadOutput($event)" | |
[uploadInput]="uploadInput" multiple> | |
or choose file(s) | |
</label> | |
<button type="button" class="start-upload-btn" (click)="startUpload()"> | |
Start Upload | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment