Adds a hotkey to a button.
<dui-button hotkey="escape">Cancel</dui-button> <dui-button hotkey="cmd+s">Save</dui-button>
<dui-button>
(source)<dui-tab-button>
(source)[(ngModel)]
or formControlName
with it. [hotkey]
(source)Adds a hotkey to a button.
<dui-button hotkey="escape">Cancel</dui-button> <dui-button hotkey="cmd+s">Save</dui-button>
[duiFileChooser]
(source)[(ngModel)]
or formControlName
with it. Directive to open the native file chooser dialog. Can be used wth FormsModule (ngModel).
<dui-button duiFileChooser duiFileChooserChange="open($event)">Open File</dui-button>
[duiFilePicker]
(source)[(ngModel)]
or formControlName
with it. Directive to open the native file picker dialog and return the selected files as Uint8Array. Can be used wth FormsModule (ngModel).
<dui-button duiFilePicker duiFilePickerChange="open($event)">Open File</dui-button>
[duiFileDrop]
(source)[(ngModel)]
or formControlName
with it. Directive to allow dropping files into an area. Can be used wth FormsModule (ngModel).
<div duiFileDrop (duiFileDropChange)="onFilesDropped($event)"> Drop files here </div>