Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
2 results across 6 corpora for TextFormatUpdateEvent: TextFormatUpdateEvent() constructor.
Developer library 2
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: TextFormatUpdateEvent() constructor
TextFormatUpdateEvent API The **`TextFormatUpdateEvent()`** constructor returns a new TextFormatUpdateEvent object. ## Syntax ```js-nolint new TextFormatUpdateEvent(type) new TextFormatUpdateEvent(type, options) ``` ### Parameters - `type` - : A string representing the type of the event. Possible values: `"textformatupdate"`. - `options` - : An optional object with the following properties: - `textForma