Module Js_top_worker_message.Widget_viewSource
Serializable view descriptions for interactive widgets.
No closures, no JS references. Event handlers are symbolic string identifiers resolved by the worker's handler registry.
Source
type attr = | Property of string * string| Style of string * string| Class of string| Handler of string * Js_top_worker_message.Widget_view.event_id(*event name, handler id
*)
Source
type node = | Text of string| Element of {tag : string;attrs : Js_top_worker_message.Widget_view.attr list;children : Js_top_worker_message.Widget_view.node list;
}| Managed of {}
Source
type event_msg = {handler_id : Js_top_worker_message.Widget_view.event_id;event_type : string;value : string option;
}