MobileImage
An image element on a mobile app. Learn more.
Additional information about this section
Store values associated with an object
- src
Sets or gets the image's source.
- id
Gets the mobile element's ID.
- parent
Gets the mobile element's parent element.
- type
Gets the mobile element's type.
- collapsed
Indicates if the element is collapsed or expanded.
- hidden
Indicates if the element is visible or hidden.
- isVisible
Indicates if the element is actually visible.
The endpoints exposed by this API
Collapses the element and sets its collapsed property to true.
Expands the element and sets its collapsed property to false.
Hides the element and sets its hidden property to true.
Shows the element and sets its hidden property to false.
Adds an event handler that runs when the element is pressed for more than 500 milliseconds.
Adds an event handler that runs when an element on a mobile app is pressed.
Adds an event handler that runs immediately when an element on a mobile app is pressed.
Adds an event handler that runs when an element on a mobile app is released after being pressed.