Console
hyTags
Home
Home
Documentation
Documentation
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>
<div></div>
<event-new name="custom-event"> <bool-true> <assert-true>
<event-new name="custom-event"> <bool-true> <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