package quill
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c
doc/quill.editor/Quill_editor/Brr_ext/Ev/index.html
Module Brr_ext.EvSource
include module type of struct include Brr.Ev end
Event types
The type for events which can pose as values of type 'a. See the predefined event types.
Event types.
Events
The type for EventTarget abiding objects.
The type for event initialisation objects.
init is an event initialisation object with given parameters.
See t.
create ?init t is an event of type t initialised with init.
current_target e is the target currently handling e. See also target.
composed_path e are the targets on which listeners will be invoked.
stop_propagation e prevents the propagation of e in the DOM, remaining handlers of e on the current_target are still invoked use stop_immediate_propagation to stop these. The user agent's default action for e still occurs, use prevent_default to prevent that.
stop_immediate_propagation e is like stop_propagation but it also prevents the invocation of other handlers for e that may be listening on the current_target.
cancelable e indicates whether e can be cancelled, that is whether prevent_default will succeed.
prevent_default e prevents the user agent's default action for e to happen. This may have no effect if cancelable is false, see default_prevented.
default_prevented e is true indicates whether a call to prevent_default succeded.
is_trusted e is true if e was dispatched by the user agent and false otherwise.
timestamp_ms e is the time in milleseconds since the POSIX epoch when the event was created.
dispatch e t dispatches event e on target t.
Listening
The type for listening options.
listen_opts () are options for listen.
captureindicates if events are listened before being dispatched to descendents of the target in the DOM tree. Defaults tofalse.onceindicates at most a single event will be listened. Iftruethe listener is automatically removed when invoked. Defaults tofalse.passiveindicates the listener never callsprevent_defaulton the event. If it does nothing will happen (except maybe a console warning). Defaults tofalse.
The type for event listeners. See listen.
listen ~opts type' f t is a listener listening for events of type type' on target t with function f and options opts (see listen_opts for defaults). The listener can be used to unlisten, if you don't need to, you can just `ignore` the result.
next type' t is a future that determines the next event of type type' on target t. For capture see listen_opts.
Event subobjects
DataTransfer objects.
Clipboard events.
Composition events.
Error events.
Extendable events.
Focus events.
Hash change events
Input events.
Keyboard events.
Mouse events.
Drag events.
Pointer events
Wheel events.
Predefined types
Due to type dependencies some events are defined in their dedicated modules:
- History events
- Fetch events
- Form events
- Media device events
- Media recorder events
- Media stream events
- Media track events
- Message events
- Notification events
- Storage events
Events that have no special type dependencies are defined here, in alphabetic order.
activate is the activate event.
beforeinput is the beforeinput event.
beforeunload is the beforeunload event.
canplaythrough is the type for canplaythrough events
change is the clipboardchange event.
compositionstend is the compositionend event.
compositionstart is the compositionstart event.
compositionstupdate is the compositionupdate event.
controllerchange is the controllerchange event.
copy is the copy event.
cut is the cut event.
dom_content_loaded is the type for DOMContentLoaded_event events.
durationchange is the type for durationchange events
fullscreenchange is the fullscreenchange event.
fullscreenerror is the fullscreenerror event.
gotpointercaputer is the gotpointercapture event.
hashchange is the type for hashchange events
install is the install event.
keydown is the keydown event
keyup is the keyup event
languagechange is the type type for languagechange events.
loadeddata is the type for loadeddata events
loadedmetadata is the type for loadedmetadata events
lostpointercapture is the lostpointercaptpure event.
mouseenter is the type for mouseenter events.
mouseleave is the type for mouseleave events.
paste is the paste event.
pointercancel is the pointercancel event.
pointerdown is the pointerdown event.
pointerneter is the pointerenter event.
pointerleave is the pointerleave event.
pointerlockchange is the pointerlockchange event.
pointerlockerror is the pointerlockerror event.
pointemove is the pointermove event.
pointerout is the pointerout event.
pointerover is the pointerover event.
pointerrawupdate is the pointerrawupdate event.
ratechange is the type for ratechange events
statechange is the type for statechange events.
timeupdate is the type for timeupdate events
visibilitychange is the type for visibilitychange events.
volumechange is the type for volumechange events
Event type for the selectionchange event, fired on the document when the current text selection changes.