Constructor
new Container(_idopt, _parentViewIdopt, _createDOMElementopt)
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
_id |
string |
<optional> |
null
|
|
_parentViewId |
string |
<optional> |
null
|
|
_createDOMElement |
boolean |
<optional> |
true
|
Classes
Members
(readonly) containerElement
- Source:
Get Container HTML Content
(readonly) enabled
- Source:
Returns true if Container is enabled
(readonly) parent
- Source:
Returns Parent ViewID
visible
- Source:
Boolean Property , returns True if Component is Visible
Methods
attach()
- Source:
Container Lifecycle Method, Call by View or manually
attachView Responsible to render view content, listners etc,
Dispatch "ATTACHED_EVENT" when view got attached / rendered
createDOMContent()
- Source:
Call by attach Method
destroy()
- Source:
Call by View
detach()
- Source:
Container Lifecycle Method
Call by View or Manually
Container will be remove if View is attached
init()
- Source:
Call by View or Parent
initContainer()
- Source:
refresh()
- Source:
Call by View