Listen to clipboard update event and get the updated types in a callback.
This listener tells you what types of data are updated.
This relies on listenToClipboard() who emits events this function listens to.
You can run listenToClipboard() or startListening() before calling this function.
When HTML is copied, this will be passed to callback: {files: false, image: false, html: true, rtf: false, text: true}
Listen to clipboard update event and get the updated types in a callback. This listener tells you what types of data are updated. This relies on
listenToClipboard()
who emits events this function listens to. You can runlistenToClipboard()
orstartListening()
before calling this function. When HTML is copied, this will be passed to callback: {files: false, image: false, html: true, rtf: false, text: true}