package virtual_dom
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t +=
| Ignore
(*
*)Viewport_changed
events are delivered to all visibility handlers| Viewport_changed
(*
*)Stop_propagation
prevents the underlying DOM event from propagating up to the parent elements| Stop_propagation
(*
*)Prevent_default
prevents the default browser action from occurring as a result of this event| Prevent_default
(*Allows one to represent a list of handlers, which will be individually dispatched to their respective handlers. This is so callbacks can return multiple events of whatever kind.
*)| Many of t list
module type Handler = sig ... end
module type Visibility_handler = sig ... end
module type S = sig ... end
For registering a new handler and a corresponding new constructor of the Event.t type
module Define_visibility (VH : Visibility_handler) : sig ... end
For registering a handler for Viewport_changed events. Note that if this functor is called multiple times, each handler will see all of the events.
module Expert : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>