mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-17 06:55:30 +01:00
feat(layouts): add file uploader (#842)
This commit is contained in:
parent
1be434b437
commit
7d03461efb
8 changed files with 82 additions and 2 deletions
|
|
@ -16,6 +16,11 @@ export class Layouts {
|
|||
url: '',
|
||||
};
|
||||
|
||||
public fileUploaderOptions:NgUploaderOptions = {
|
||||
// url: 'http://website.com/upload'
|
||||
url: '',
|
||||
};
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,5 +41,10 @@
|
|||
<ba-picture-uploader [picture]="profile.picture" [defaultPicture]="defaultPicture" [uploaderOptions]="uploaderOptions"></ba-picture-uploader>
|
||||
</ba-card>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<ba-card title="File Uploader" baCardClass="with-scroll">
|
||||
<ba-file-uploader [fileUploaderOptions]="fileUploaderOptions"></ba-file-uploader>
|
||||
</ba-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue