[Control] image
Part of: mobl::ui::generic
Arguments:
url : String
the URL of the image (or relative path from the project directory)width : Num = null
(optional) the width of the image (in pixels)height : Num = null
(optional) the height of the image (in pixels)onclick : Callback = null
(optional) the callback to be called when the user taps the imagestyle : Style = null
(optional) style to usevalign : String = null
(optional) vertical align of text around image (legal values:"top"
,"bottom"
or"middle"
).align : String = null
(optional) align of text around image (legal values:"left"
or"right"
).
Renders an image on the screen.
Example:
image("img/cat.jpg", onclick={
alert("Miow!");
})
mobl/ui/generic/image.txt · Last modified: 2013/10/01 02:29 (external edit)