UI

Functions

#

freeze(value)

Freezes UI

Parameters:
Name Type Description
value Boolean

freeze the UI(true/false)

Example

SampleCopycopied

ZDK.UI.freeze(true)

# Detail Page (Canvas)

scrollTo(element_id)

Scrolls the page to the given elements' location

Parameters:
Name Type Description
element_id String

id of the element in a Canvas page

Example

SampleCopycopied

ZDK.UI.scrollTo('myElem')

# Detail Page (Canvas)

highlight(config)

Highlight a element

Parameters:
Name Type Description
config Object

configuration property for highlighting

Example

SampleCopycopied

ZDK.UI.highlight('div1', {time: 1000})

# Detail Page (Canvas) Wizard

getElementByID(element_id)

Get the UIElement object.

Parameters:
Name Type Description
element_id String

id of the element in a Canvas page

Example

SampleCopycopied

ZDK.UI.getElementByID('section1')