hyTags
HomeHome DocumentationDocumentation

selection-set-value

Sets the value property of the selected input, select, or textarea element.
Parameter
Type
Description
value
String
New value to set
return
void
Void
Test Case:Set input value
    <input type="text">
    
    <selection-set-value value="new value">
    <selection-get-value>
    <assert-equal value="new value" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed