Typedef

FileInputViewDoneEvent (upload/ui)

@ckeditor/ckeditor5-upload/src/ui/filedialogbuttonview

typedefobject

Fired when file dialog is closed with file selected.

view.on( 'done', ( evt, files ) => {
	for ( const file of files ) {
		console.log( 'Selected file', file );
	}
}

Filtering

Properties

  • args : tuple

  • name : 'done'