furo-get-clipboard

furo-get-clipboard #

@furo/util v2.1.19
import '@furo/util/src/furo-get-clipboard.js';
exports FuroGetClipboard js
exports <furo-get-clipboard> custom-element-definition
superclass LitElement
mixes FBP

summary get clipboard content

furo-get-clipboard get the clipboard content from the OS.

1
2
3
4

<furo-get-clipboard
    fn-trigger="--clipboardContentRequested" at-content="--contentReceived"
    ></furo-get-clipboard>

Attributes and Properties #

json #

json String

Convert clipboard content to json

Events #

content #

at-content``

Fired when clipboard content is received

Methods #

trigger #

trigger() ⟹ void

*fn-trigger