package virtual_dom
-
virtual_dom
-
-
virtual_dom.keyboard
-
-
virtual_dom.layout
-
virtual_dom.svg
-
virtual_dom.ui_effect
-
virtual_dom.vdom_test_helpers
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val of_values :
?extra_attrs:Virtual_dom.Vdom.Attr.t list ->
?disabled:bool ->
(module Display with type t = 'a) ->
'a list ->
is_checked:('a -> bool) ->
on_toggle:('a -> unit Virtual_dom.Vdom.Effect.t) ->
Virtual_dom.Vdom.Node.t
Creates a list of checkboxes with labels.
val of_enum :
?extra_attrs:Virtual_dom.Vdom.Attr.t list ->
?disabled:bool ->
(module Enum with type t = 'a) ->
is_checked:('a -> bool) ->
on_toggle:('a -> unit Virtual_dom.Vdom.Effect.t) ->
Virtual_dom.Vdom.Node.t
Instead of passing individual values
, uses all
from the module to determine the items and order.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>