Console
hyTags
Home
Home
Documentation
Documentation
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 type="checkbox">
<input-set-checked value="true"> <input-is-checked> <assert-true>
<input-set-checked value="true"> <input-is-checked> <assert-true>
👆 Try to change something!
Live preview
Run
Array
Assert
Attribute
Bool
Class
Closure
Cookie
Data
Date
DateTime
Debug
Element
Error
Event
Form
Fragment
Function
If
Input
Items
Javascript
Loop
Number
Object
Page
Property
Rect
Request
Response
Selection
Storage
String
Style
Time
Url
Value
Var
Window
Quick Reference
Test succeeded
Test failed