Liking cljdoc? Tell your friends :D
ClojureScript only.

web.clipboard.ClipboardEvent

The ClipboardEvent interface represents events providing information to modification of the clipboard, that is cut, copy, and paste

The ClipboardEvent interface represents events providing information
to modification of the clipboard, that is cut, copy, and paste
raw docstring

clipboard-datacljs

(clipboard-data this)

Method.

[Experimental]

The ClipboardEvent.clipboardData property holds a web.drag.DataTransfer which can be used:

data = ClipboardEvent.clipboardData

See also: https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData

Method.

[Experimental]

The ClipboardEvent.clipboardData property holds a `web.drag.DataTransfer`
which can be used:

`data = ClipboardEvent.clipboardData`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData`
sourceraw docstring

constructorcljs

(constructor & args)

Constructor.

The ClipboardEvent() constructor returns a newly created web.clipboard.ClipboardEvent, representing an event providing information related to modification of the clipboard, that is cut, copy, and paste events.

The ClipboardEvent() constructor also inherits arguments from Event().

type Is a web.DOMString representing the name of the type of the ClipboardEvent. It is case-sensitive and can be: 'copy', 'cut', or 'paste'. options Optional Options are as follows:

clipboardData: A web.drag.DataTransfer containing the data concerned by the clipboard event. dataType : A web.DOMString containing the MIME-type of the data contained in the data argument. data : A web.DOMString containing the data concerned by the clipboard event.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent

Constructor.

The ClipboardEvent() constructor returns a newly created `web.clipboard.ClipboardEvent`, representing an event providing information related to modification of the clipboard, that is cut, copy, and paste events.

The ClipboardEvent() constructor also inherits arguments from `Event()`.


type
Is a `web.DOMString` representing the name of the type of the ClipboardEvent. It is case-sensitive and can be: 'copy', 'cut', or 'paste'.
options Optional
Options are as follows:

clipboardData: A `web.drag.DataTransfer` containing the data concerned by the clipboard event.
dataType : A `web.DOMString` containing the MIME-type of the data contained in the data argument.
data : A `web.DOMString` containing the data concerned by the clipboard event.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close