Expand description
Elements, attributes and events definitions.
Modules
Structs
imageelement let’s you show an image.labelsimply let’s you display some text.paragraphelement let’s you build texts with different styles.rectis a generic element that acts as a container for other elements.svgelement let’s you display SVG code.textelement is simply a text span used for theparagraphelement.
Functions
- The
clickevent fires when the user clicks an element with the mouse. Note that this fires for all mouse buttons. You can check the specific variant with theMouseData’strigger_buttonproperty. - The
globalclickevent fires when the user clicks anywhere. Note that this fires for all mouse buttons. You can check the specific variant with theMouseData’strigger_buttonproperty. - The
globalmousedownevent fires when the user starts clicking anywhere. Note that this fires for all mouse buttons. You can check the specific variant with theMouseData’strigger_buttonproperty. - The
globalmouseoverevent fires when the user moves the mouse anywhere in the app. - The
keydownevent fires when the user starts pressing any key. - The
keyupevent fires when the user releases any key being pressed. - The
mousedownevent fires when the user starts clicking an element. Note that this fires for all mouse buttons. You can check the specific variant with theMouseData’strigger_buttonproperty. - The
mouseenterevent fires when the user starts hovering an element. - The
mouseleaveevent fires when the user stops hovering an element. - The
mouseoverevent fires when the user moves the mouse over an element. Unlikeonmouseover, this fires even if the user was already hovering over the element. For that reason, it’s less efficient. - The
pointerdownevent fires when the user clicks/starts touching an element. - The
pointerenterevent fires when the user starts hovering/touching an element. - The
pointerleaveevent fires when the user stops hovering/touching an element. - The
pointeroverevent fires when the user hovers/touches over an element. Unlikeonpointerenter, this fires even if the user was already hovering over the element. For that reason, it’s less efficient. - The
pointerupevent fires when the user releases their mouse button or stops touching the element. - The
touchcancelevent fires when the user cancels the touching, this is usually caused by the hardware or the OS. Also seeontouchend. - The
touchendevent fires when the user stops touching an element. - The
touchmoveevent fires when the user is touching over an element. - The
touchstartevent fires when the user starts touching an element. - The
wheelevent fires when the user scrolls the mouse wheel while hovering over the element.