hyTags
HomeHome DocumentationDocumentation

input-set-checked

Sets the checked state of an input element.
Parameter
Type
Description
value
Bool
The checked state to set (true or false).
return
void
The selection with the updated checked state.
Test Case:Set checkbox checked
    <input type="checkbox">
    
    <input-set-checked value="true">
    <input-is-checked>
    <assert-true>
    
    👆 Try to change something!
  • Test succeeded Test failed