Class: Fragments:ImageEl

Fragments:ImageEl

new Fragments:ImageEl()

Embodies an Image fragment
Source:

Members

main

the main ImageView for this image
Source:

url

the url of the main ImageView for this image
Source:

views

an array of all the other ImageViews for this image
Source:

Methods

asHtml() → {string}

Turns the fragment into a useable HTML version of it. If the native HTML code doesn't suit your design, this function is meant to be overriden.
Source:
Returns:
- basic HTML code for the fragment
Type
string

asText() → {string}

Turns the fragment into a useable text version of it.
Source:
Returns:
- basic text version of the fragment
Type
string

getView(name) → {ImageView}

Gets the view of the image, from its name
Parameters:
Name Type Description
name string the name of the view to get
Source:
Returns:
- the proper view
Type
ImageView