Module Htmlact_page.Ev

Htmlact connection cycle events.

FIXME. Document in the manual.

FIXME. Expand on that. Also end with error attribute would likely be nicer. Ensures start/end comes in pair.

val cycle_start : unit Brr.Ev.type'

cycle_start is sent on G.document when a connection cycle start.

val cycle_end : unit Brr.Ev.type'

cycle_end is sent on G.document when a connection cycle ends.

val cycle_error : unit Brr.Ev.type'

cycle_end is sent on G.document when a connection cycle errors.

val htmlact_in : unit Brr.Ev.type'

hthmlact_in is sent on the element that gets classifed by htmlact-in-parent, just before they get classified. This is the parent element of what gets newly inserted in the DOM. Brr.Ev.prevent_default is called on the event, the classification dance does not occur.

FIXME. Wouldn't it be better to expose MutationObserver hooks ?