Module: uifactory/window

Members

(inner) actionBarProperties

View #setActionBarProperties
Properties:
Name Type Attributes Default Description
actionBarProperties Object <optional>
null
Source:

(inner) activityButton

View #setActivityButton
Properties:
Name Type Attributes Default Description
activityButton Object <optional>
null
Source:

(inner) activityButtons

View #addActivityButton
Properties:
Name Type Attributes Default Description
activityButtons Array <optional>
null
Source:

(inner) activityProperties

View #setActivityProperties
Properties:
Name Type Attributes Default Description
activityProperties Object <optional>
null
Source:

(inner) backButtonDisabled

**(Android only)** Disable the hardware back button (do nothing on click)
Properties:
Name Type Attributes Default Description
backButtonDisabled Boolean <optional>
false
Source:

(inner) backgroundCoverImage

View #setBackgroundCoverImage
Properties:
Name Type Attributes Default Description
backgroundCoverImage String <optional>
null
Source:

(inner) deferredBackgroundImage

View #setDeferredBackgroundImage
Properties:
Name Type Attributes Default Description
deferredBackgroundImage String <optional>
null
Source:

(inner) displayHomeAsUp

**(Android only)** Set the property `displayHomeAsUp` and the relative close listener.
Properties:
Name Type Attributes Default Description
displayHomeAsUp Boolean <optional>
false
Source:

(inner) exitOnBack

Set an handler that kill the entire app when back button is closed
Properties:
Name Type Attributes Default Description
exitOnBack Boolean <optional>
null
Source:

(inner) rightNavButton

Properties:
Name Type Attributes Default Description
rightNavButton Object <optional>
null View #setRightNavButton
Source:

(inner) useActionBarExtras

**(Android only)** Use the ActionBarExtras module by Ricardo Alcocer (if included in tiapp.xml)
Properties:
Name Type Attributes Default Description
useActionBarExtras Boolean <optional>
false
Source:
See:

Methods

(inner) addActivityButton(opt)

**Android specific**
Parameters:
Name Type Description
opt Object
Source:

(inner) fadeIn()

Fade in this window
Source:

(inner) fadeOut()

Fade in this window
Source:

(inner) processTitles()

Auto-process the titles
Source:

(inner) setActionBarProperties(props, callback)

Set the properties for the ActionBar
Parameters:
Name Type Description
props Object
callback function
Source:

(inner) setActivityButton(opt)

**Android specific**
Parameters:
Name Type Description
opt Object
Source:

(inner) setActivityProperties(props)

Set the properties for the Activity
Parameters:
Name Type Description
props Object
Source:

(inner) setBackgroundCoverImage(url)

Parameters:
Name Type Description
url String
Source:

(inner) setDeferredBackgroundImage(val)

When large images are requested, it's useful to set `deferredBackgroundImage` to set the background on window open.
Parameters:
Name Type Description
val String
Source:

(inner) setRightNavButton()

Source:
See:
  • setActivityButton

(inner) setSubtitle(value)

**Android fix**
Parameters:
Name Type Description
value String
Source:

(inner) setTitle(value)

**Android fix**
Parameters:
Name Type Description
value String
Source: