Module Hc_page.Ev

Hc 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 hc_in : unit Brr.Ev.type'

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

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