The InputEvent interface represents an event notifying of editable change.
The InputEvent interface represents an event notifying of editable change.
(constructor & args)
Constructor.
The InputEvent() constructor creates a new web.event.InputEvent
.
See also: https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent
Constructor. The InputEvent() constructor creates a new `web.event.InputEvent`. See also: `https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent`
(data this)
Property.
[Read Only] [Experimental]
The data read-only property of the web.event.InputEvent
interface
a web.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. [Read Only] [Experimental] The data read-only property of the `web.event.InputEvent` interface a `web.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`
(data-transfer this)
Property.
[Read Only] [Experimental]
The dataTransfer read-only property of the web.event.InputEvent
returns a web.drag.DataTransfer
object containing information
richtext or plaintext data being added to or removed from editible
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.event.InputEvent` returns a `web.drag.DataTransfer` object containing information richtext or plaintext data being added to or removed from editible `var dataTransfer = inputEvent.dataTransfer` See also: `https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/dataTransfer`
(get-target-ranges this)
Method.
[Experimental]
The getTargetRanges() property of the web.event.InputEvent
returns an array of static ranges that will be affected by a
to the 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.event.InputEvent` returns an array of static ranges that will be affected by a to the 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`
(input-type this)
Property.
[Read Only]
The inputType read-only property of the web.event.InputEvent
returns the type of change made to editible content. Possible
include 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.event.InputEvent` returns the type of change made to editible content. Possible include for example inserting, deleting, and formatting text. `var aString = inputEvent.inputType;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/inputType`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close