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

constructorcljs

Constructor.

The InputEvent() constructor creates a new web.InputEvent.

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

Constructor.

The InputEvent() constructor creates a new `web.InputEvent`.

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

datacljs

(data this)

Property.

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

var aString = inputEvent.data;

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

Property.

The data read-only property of the `web.InputEvent` interface
a `dom.DOMString` with the inserted characters. This may be an
string if the change doesn't insert text (such as when deleting
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.

The dataTransfer read-only property of the web.InputEvent interface a web.DataTransfer object containing information about richtext 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.

The dataTransfer read-only property of the `web.InputEvent` interface
a `web.DataTransfer` object containing information about richtext
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.

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.

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.

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.

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.

The InputEvent.isComposing read-only property returns a web.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.

The InputEvent.isComposing read-only property returns a `web.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

set-data!cljs

(set-data! this val)

Property.

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

var aString = inputEvent.data;

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

Property.

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

`var aString = inputEvent.data;`

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

set-data-transfer!cljs

(set-data-transfer! this val)

Property.

The dataTransfer read-only property of the web.InputEvent interface a web.DataTransfer object containing information about richtext 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.

The dataTransfer read-only property of the `web.InputEvent` interface
a `web.DataTransfer` object containing information about richtext
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

set-input-type!cljs

(set-input-type! this val)

Property.

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.

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

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

× close