[Control] image
Part of: mobl::ui::generic
Arguments:
- url : Stringthe 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 image
- style : Style = null(optional) style to use
- valign : 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!");
})
 
