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 EditContext API.

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: 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

TextFormatUpdateEvent

EditContext API The **`TextFormatUpdateEvent`** interface is a [DOM event](/docs/Web/API/Event) that represents a list of text 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. This interface inherits properties from Event. ## Constructor - TextFormatUpdateEvent() - : Creates a new `TextFormatUpdateEven

TextFormatUpdateEvent: getTextFormats() method

EditContext API The **`getTextFormats()`** method of the TextFormatUpdateEvent interface returns an Array of TextFormat objects that represent the formats that an Input Method Editor (IME) window wants to apply to the text being composed. ## Syntax ```js-nolint getTextFormats() ``` ### Parameters None. ### Return value An Array containing TextFormat objects. ## Examples ### Styling IME-composed text In the

TextUpdateEvent

EditContext API The **`TextUpdateEvent`** interface is a [DOM event](/docs/Web/API/Event) that represents a text or selection update in an editable text region that's attached to an EditContext instance. This interface inherits properties from Event. ## Constructor - TextUpdateEvent() - : Creates a new `TextUpdateEvent` object. ## Instance properties - TextUpdateEvent.updateRangeStart - : Returns the i

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

JSON results · Services directory