package SZXX
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type state = {
decl_attrs : attr_list option;
stack : partial list;
path_stack : string list;
top : DOM.element option;
}
val sexp_of_state : state -> Sexplib0.Sexp.t
val init : state
val folder :
filter_path:string list ->
on_match:(DOM.element -> unit) ->
?strict:bool ->
(state, string) Core.result ->
node ->
(state, string) Core.result
strict
(default: true
) When false, non-closed elements are treated as self-closing elements, HTML-style. For example a <br>
without a matching </br>
is treated as <br />
. Note that non-closed elements within the path to filter_path
will prevent on_match
from being called on some (but not all) otherwise matching elements.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>