Module: htmlImport

Methods

(inner) for creating child rosetta element instance(elemType)

Parameters:
Name Type Description
elemType string type of custom lement to be created
Source:

(inner) for creating new rosetta element class()

Source:

(inner) for destroy rosetta element instance()

Source:

(inner) for event binding(eventName, listener, context, ifOnce)

Parameters:
Name Type Description
eventName string the name of the event
listener string callback of the event
context object the custom context when executing callback
ifOnce string whether the callback will be executed once
Source:

(inner) for event triggering(eventName)

Parameters:
Name Type Description
eventName string the name of the event
Source:

(inner) for event triggering only once(eventName, listener, context)

Parameters:
Name Type Description
eventName string the name of the event
listener function callback of the event
context object the custom context when executing callback
Source:

(inner) for event unbinding(eventName)

Parameters:
Name Type Description
eventName string the name of the event to be unbinded
Source:

(inner) for update rosetta element instance properties and rerendering UI(opts)

Parameters:
Name Type Description
opts object new value of properties for updating
Source: