GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for CharacterBoundsUpdateEvent.

Papers 0

Developer library 6

CharacterBoundsUpdateEvent

EditContext API The **`CharacterBoundsUpdateEvent`** interface is a [DOM event](/docs/Web/API/Event) that represents a request from the operating system to know the bounds of certain characters within an editable region that's attached to an EditContext instance. This interface inherits properties from Event. ## Constructor - CharacterBoundsUpdateEvent() - : Creates a new `CharacterBoundsUpdateEvent` object.

CharacterBoundsUpdateEvent: CharacterBoundsUpdateEvent() constructor

CharacterBoundsUpdateEvent API The **`CharacterBoundsUpdateEvent()`** constructor returns a new CharacterBoundsUpdateEvent object. ## Syntax ```js-nolint new CharacterBoundsUpdateEvent(type) new CharacterBoundsUpdateEvent(type, options) ``` ### Parameters - `type` - : A string representing the type of the event. Possible values: `"characterboundsupdate"`. - `options` - : An optional object with the followin

CharacterBoundsUpdateEvent: rangeStart property

EditContext API The **`CharacterBoundsUpdateEvent.rangeStart`** read-only property represents the offset of the first character within the editable text region for which the operating system needs the bounds. ## Value A Number. ## Examples ### Reading the `rangeStart` value This example shows how to use the `characterboundsupdate` event and read the value of the `rangeStart` and `rangeEnd` properties. ```js co

CharacterBoundsUpdateEvent: rangeEnd property

EditContext API The **`CharacterBoundsUpdateEvent.rangeEnd`** read-only property represents the offset of the last character within the editable text region for which the operating system needs the bounds. ## Value A Number. ## Examples ### Reading the `rangeEnd` value This example shows how to use the `characterboundsupdate` event and read the value of the `rangeStart` and `rangeEnd` properties. ```js const e

EditContext: characterboundsupdate event

s/Web/API/Document_Object_Model/Events#using_onevent_properties) of the interface: ```js-nolint oncharacterboundsupdate = (event) => { } ``` ## Event type A CharacterBoundsUpdateEvent. Inherits from Event. ## Examples ### Updating the character bounds when needed This example shows how to use the `updateCharacterBounds` method to update the character bounds in the `EditContext` of a `canvas` element when the op

EditContext API

formats that an Input Method Editor (IME) window wants to apply to the text being composed in an editable region that's attached to an EditContext instance. - CharacterBoundsUpdateEvent - : The `CharacterBoundsUpdateEvent` interface is a [DOM event](/docs/Web/API/Event) that represents a request from the operating system to know the bounds of certain characters within an editable region that's attached to an Edit

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/EditContext_API

JSON results · Services directory