package mechaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Operations on Radio Buttons
Similar to checkboxes, except that selecting one radio button in a group automatically unselects the others
val value : radio_button input -> string
Return the value (the label) of a radio button
val values : t -> radio_button input -> string list
Return the values of all the radio buttons with the same name as the given one
val choices : t -> radio_button input -> radio_button input seq
Return all the radio buttons with the same name as the given one
val select : t -> radio_button input -> t
select form rb
return form
where rb
is selected
val is_selected : t -> radio_button input -> bool
Check if the specified radio button is selected
val selected_default : t -> radio_button input -> string option
Values with checked
attribute set
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>