Skip to main content

Module Vdom

type systemMessage​

type 'msg systemMessage = 

type applicationCallbacks​

type 'msg applicationCallbacks = {

type eventHandler​

type 'msg eventHandler = 

type eventCache​

type 'msg eventCache = {

type property​

type 'msg property = 

type properties​

type 'msg properties = 'msg property list

type t​

type 'msg t = 

val noNode​

val noNode : 'msg t

val comment​

val comment : string -> 'msg t

val text​

val text : string -> 'msg t

val fullnode​

val fullnode :    string ->   string ->   string ->   string ->   'msg properties ->   'msg0 t list ->   'msg1 t

val node​

val node :    ?namespace:string ->   string ->   ?key:string ->   ?unique:string ->   'msg properties ->   'msg0 t list ->   'msg1 t

val lazyGen​

val lazyGen : string -> ( unit -> 'msg t ) -> 'msg0 t

val noProp​

val noProp : 'msg property

val prop​

val prop : string -> string -> 'msg property

val onCB​

val onCB :    string ->   string ->   ( Web.Node.event -> 'msg option ) ->   'msg0 property

val onMsg​

val onMsg : string -> 'msg -> 'msg0 property

val attribute​

val attribute : string -> string -> string -> 'msg property

val data​

val data : string -> string -> 'msg property

val style​

val style : string -> string -> 'msg property

val styles​

val styles : (string * string) list -> 'msg property

val renderToHtmlString​

val renderToHtmlString : 'msg t -> string

val emptyEventHandler​

val emptyEventHandler : Web.Node.event_cb

val emptyEventCB​

val emptyEventCB : 'a -> Web.Node.event_cb option

val eventHandler​

val eventHandler :    'msg applicationCallbacks Stdlib.ref ->   ( Web.Node.event -> 'msg0 option ) Stdlib.ref ->   Web.Node.event_cb

val eventHandler_GetCB​

val eventHandler_GetCB : 'msg eventHandler -> Web.Node.event -> 'msg option

val compareEventHandlerTypes​

val compareEventHandlerTypes : 'msg eventHandler -> 'msg0 eventHandler -> bool

val eventHandler_Register​

val eventHandler_Register :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   string ->   'msg0 eventHandler ->   'msg1 eventCache option

val eventHandler_Unregister​

val eventHandler_Unregister :    Web.Node.t ->   string ->   'msg eventCache option ->   'msg eventCache option

val eventHandler_Mutate​

val eventHandler_Mutate :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   string ->   string ->   'msg0 eventHandler ->   'msg1 eventHandler ->   'msg2 eventCache option Stdlib.ref ->   'msg3 eventCache option Stdlib.ref ->   unit

val patchVNodesOnElems_PropertiesApply_Add​

val patchVNodesOnElems_PropertiesApply_Add :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   int ->   'msg0 property ->   unit

val patchVNodesOnElems_PropertiesApply_Remove​

val patchVNodesOnElems_PropertiesApply_Remove :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   int ->   'msg0 property ->   unit

val patchVNodesOnElems_PropertiesApply_RemoveAdd​

val patchVNodesOnElems_PropertiesApply_RemoveAdd :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   int ->   'msg0 property ->   'msg1 property ->   unit

val patchVNodesOnElems_PropertiesApply_Mutate​

val patchVNodesOnElems_PropertiesApply_Mutate :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   int ->   'msg0 property ->   'msg1 property ->   unit

val patchVNodesOnElems_PropertiesApply​

val patchVNodesOnElems_PropertiesApply :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   int ->   'msg0 property list ->   'msg1 property list ->   bool

val patchVNodesOnElems_Properties​

val patchVNodesOnElems_Properties :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   'msg0 property list ->   'msg1 property list ->   bool

val genEmptyProps​

val genEmptyProps : int -> 'msg property list

val mapEmptyProps​

val mapEmptyProps : 'msg property list -> 'msg0 property list

val patchVNodesOnElems_ReplaceNode​

val patchVNodesOnElems_ReplaceNode :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   Web.Node.t array ->   int ->   'msg0 t ->   unit

val patchVNodesOnElems_CreateElement​

val patchVNodesOnElems_CreateElement :    'msg applicationCallbacks Stdlib.ref ->   'msg0 t ->   Web.Node.t

val patchVNodesOnElems_MutateNode​

val patchVNodesOnElems_MutateNode :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   Web.Node.t array ->   int ->   'msg0 t ->   'msg1 t ->   unit

val patchVNodesOnElems​

val patchVNodesOnElems :    'msg applicationCallbacks Stdlib.ref ->   Web_node.t ->   Web_node.t Js.Array.t ->   int ->   'msg0 t list ->   'msg1 t list ->   unit

val patchVNodesIntoElement​

val patchVNodesIntoElement :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   'msg0 t list ->   'msg1 t list ->   'msg2 t list

val patchVNodeIntoElement​

val patchVNodeIntoElement :    'msg applicationCallbacks Stdlib.ref ->   Web.Node.t ->   'msg0 t ->   'msg1 t ->   'msg2 t list

val wrapCallbacks_On​

val wrapCallbacks_On :    'a 'b. ( 'a -> 'b ) ->   'a systemMessage ->   'b systemMessage

val wrapCallbacks​

val wrapCallbacks :    'a 'b. ( 'a -> 'b ) ->   'b applicationCallbacks Stdlib.ref ->   'a applicationCallbacks Stdlib.ref

val map​

val map : ( 'a -> 'b ) -> 'a t -> 'b t