Typedef

FileInputViewDoneEvent (ui/button)

@ckeditor/ckeditor5-ui/src/button/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'