Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
kotlin-browser
/
web.editcontext
/
EditContext
Edit
Context
web
open
class
EditContext
(
options
:
EditContextInit
=
definedExternally
)
:
EventTarget
(
source
)
MDN Reference
Members
Constructors
Edit
Context
Link copied to clipboard
web
constructor
(
options
:
EditContextInit
=
definedExternally
)
Properties
character
Bounds
Range
Start
Link copied to clipboard
web
val
characterBoundsRangeStart
:
Int
MDN Reference
oncharacterboundsupdate
Link copied to clipboard
web
val
oncharacterboundsupdate
:
EventHandler
<
CharacterBoundsUpdateEvent
,
EditContext
,
EditContext
>
MDN Reference
oncompositionend
Link copied to clipboard
web
val
oncompositionend
:
EventHandler
<
CompositionEvent
,
EditContext
,
EditContext
>
MDN Reference
oncompositionstart
Link copied to clipboard
web
val
oncompositionstart
:
EventHandler
<
CompositionEvent
,
EditContext
,
EditContext
>
MDN Reference
ontextformatupdate
Link copied to clipboard
web
val
ontextformatupdate
:
EventHandler
<
TextFormatUpdateEvent
,
EditContext
,
EditContext
>
MDN Reference
ontextupdate
Link copied to clipboard
web
val
ontextupdate
:
EventHandler
<
TextUpdateEvent
,
EditContext
,
EditContext
>
MDN Reference
selection
End
Link copied to clipboard
web
val
selectionEnd
:
Int
MDN Reference
selection
Start
Link copied to clipboard
web
val
selectionStart
:
Int
MDN Reference
text
Link copied to clipboard
web
val
text
:
String
MDN Reference
Functions
attached
Elements
Link copied to clipboard
web
fun
attachedElements
(
)
:
ReadonlyArray
<
HTMLElement
>
MDN Reference
character
Bounds
Link copied to clipboard
web
fun
characterBounds
(
)
:
ReadonlyArray
<
DOMRect
>
MDN Reference
dispatch
Event
Link copied to clipboard
web
open
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
update
Character
Bounds
Link copied to clipboard
web
fun
updateCharacterBounds
(
rangeStart
:
Int
,
characterBounds
:
ReadonlyArray
<
DOMRect
>
)
MDN Reference
update
Control
Bounds
Link copied to clipboard
web
fun
updateControlBounds
(
controlBounds
:
DOMRect
)
MDN Reference
update
Selection
Link copied to clipboard
web
fun
updateSelection
(
start
:
Int
,
end
:
Int
)
MDN Reference
update
Selection
Bounds
Link copied to clipboard
web
fun
updateSelectionBounds
(
selectionBounds
:
DOMRect
)
MDN Reference
update
Text
Link copied to clipboard
web
fun
updateText
(
rangeStart
:
Int
,
rangeEnd
:
Int
,
text
:
String
)
MDN Reference
when
Link copied to clipboard
web
fun
<
T
:
Event
>
when
(
type
:
EventType
<
T
>
,
options
:
ObservableEventListenerOptions
?
)
:
Observable
<
T
>