T
FileDialogEventHookOn
testeddemoSubscribe to an event; returns an unsubscribe function.
Demo
Loading demo…
Signature
ts
export type FileDialogEventHookOn<T = void> = (callback: (param: T) => void) => { off: () => void };Type Parameters
T= void