Expand description
Elements, attributes and events definitions.
Modules
Structs
- A platform specific event.
image
element let’s you show an image.label
simply let’s you display some text.paragraph
element let’s you build texts with different styles.rect
is a generic element that acts as a container for other elements.svg
element let’s you display SVG code.text
element is simply a text span used for theparagraph
element.
Functions
- The
click
event 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_button
property. - The
globalclick
event fires when the user clicks anywhere. Note that this fires for all mouse buttons. You can check the specific variant with theMouseData
’strigger_button
property. - The
globalmousedown
event fires when the user starts clicking anywhere. Note that this fires for all mouse buttons. You can check the specific variant with theMouseData
’strigger_button
property. - The
globalmouseover
event fires when the user moves the mouse anywhere in the app. - The
keydown
event fires when the user starts pressing any key. - The
keyup
event fires when the user releases any key being pressed. - The
mousedown
event 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_button
property. - The
mouseenter
event fires when the user starts hovering an element. - The
mouseleave
event fires when the user stops hovering an element. - The
mouseover
event 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
pointerdown
event fires when the user clicks/starts touching an element. - The
pointerenter
event fires when the user starts hovering/touching an element. - The
pointerleave
event fires when the user stops hovering/touching an element. - The
pointerover
event 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
pointerup
event fires when the user releases their mouse button or stops touching the element. - The
touchcancel
event fires when the user cancels the touching, this is usually caused by the hardware or the OS. Also seeontouchend
. - The
touchend
event fires when the user stops touching an element. - The
touchmove
event fires when the user is touching over an element. - The
touchstart
event fires when the user starts touching an element. - The
wheel
event fires when the user scrolls the mouse wheel while hovering over the element.