Liking cljdoc? Tell your friends :D

web.InputEvent

The InputEvent interface represents an event notifying of editable change.

The InputEvent interface represents an event notifying of editable
change.
raw docstring

datacljs

(data this)

Property.

[Read Only] [Experimental]

The data read-only property of the web.InputEvent interface a web.dom.DOMString with the inserted characters. This may an empty string if the change doesn't insert text (such as when characters, for example).

var aString = inputEvent.data;

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

Property.

[Read Only]
[Experimental]

The data read-only property of the `web.InputEvent` interface
a `web.dom.DOMString` with the inserted characters. This may
an empty string if the change doesn't insert text (such as when
characters, for example).

`var aString = inputEvent.data;`

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

data-transfercljs

(data-transfer this)

Property.

[Read Only] [Experimental]

The dataTransfer read-only property of the web.InputEvent interface a web.drag.DataTransfer object containing information about or plaintext data being added to or removed from editible content.

var dataTransfer = inputEvent.dataTransfer

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

Property.

[Read Only]
[Experimental]

The dataTransfer read-only property of the `web.InputEvent` interface
a `web.drag.DataTransfer` object containing information about
or plaintext data being added to or removed from editible content.

`var dataTransfer = inputEvent.dataTransfer`

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

get-target-rangescljs

(get-target-ranges this)

Method.

[Experimental]

The getTargetRanges() property of the web.InputEvent interface an array of static ranges that will be affected by a change to DOM if the input event is not canceled.

var staticRanges[] = inputEvent.getTargetRanges()

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

Method.

[Experimental]

The getTargetRanges() property of the `web.InputEvent` interface
an array of static ranges that will be affected by a change to
DOM if the input event is not canceled.

`var staticRanges[] = inputEvent.getTargetRanges()`

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

input-typecljs

(input-type this)

Property.

[Read Only]

The inputType read-only property of the web.InputEvent interface the type of change made to editible content. Possible changes for example inserting, deleting, and formatting text.

var aString = inputEvent.inputType;

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

Property.

[Read Only]

The inputType read-only property of the `web.InputEvent` interface
the type of change made to editible content. Possible changes
for example inserting, deleting, and formatting text.

`var aString = inputEvent.inputType;`

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

is-composingcljs

(is-composing this)

Property.

[Read Only]

The InputEvent.isComposing read-only property returns a js.Boolean indicating if the event is fired after compositionstart and before

var bool = event.isComposing;

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

Property.

[Read Only]

The InputEvent.isComposing read-only property returns a `js.Boolean`
indicating if the event is fired after compositionstart and before

`var bool = event.isComposing;`

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

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

× close