Module Ev.Input
Input events.
type t
The type for
InputEvent
objects.
val data : t -> Jstr.t
data i
are the inserted characters. This may be empty e.g. if characters are being deleted.
val data_transfer : t -> Data_transfer.t option
data_transfer i
hasdata
in a richer form.
val input_type : t -> Jstr.t
input_type i
is a high-level description the input operation. See here for actual values.
val is_composing : t -> bool
is_composing i
istrue
if the event occurs betweencompositionstart
andcompositionend
events.