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