hyTags
HomeHome DocumentationDocumentation

event-new

Creates a new event with the specified name.
Parameter
Type
Description
name
String
The name of the event to create.
return
event
A new event object.
Test Case:Create custom event
    <div></div>
    
    <event-new name="custom-event">
    <bool-true>
    <assert-true>
    
    👆 Try to change something!
  • Test succeeded Test failed