Create an attribute
Create an element
Creates a callback object from the function closure This will then be attached to the browser and emitted when that event is triggered.
Create an callback event which has a function to map web_sys::Event to user event
Create a textnode element