hyTags
HomeHome DocumentationDocumentation

input-set-value

Sets the value of an input or textarea element.
Parameter
Type
Description
value
String
The new value to set.
return
void
The selection with the updated value.
Test Case:Set input value
    <input type="text">
    
    <input-set-value value="world">
    <input-get-value>
    <assert-equal value="world" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed