Class: BaseContainer

BaseContainer(res, isPolar)

组件基类.

Constructor

new BaseContainer(res, isPolar)

Parameters:
Name Type Description
res object 资源对象.
isPolar boolean 是否采用极坐标定位.
Properties:
Name Type Description
parentContainer object 组件父容器
Source:

Methods

(static) Destroy()

Destroy the instance
Source:

(static) hide(Is)

hide function.
Parameters:
Name Type Description
Is boolean the container hided immediately
Source:

(static) reset()

remove all event and redo init function
Source:

(static) show(Is)

show function.
Parameters:
Name Type Description
Is boolean the container displayed immediately
Source:

Events

beforeHide

Fired before the instance hide
Source:

beforeShow

Fired before the instance show
Source:

Destroyed

Fired when the instance destroyed
Source:

onHide

Fired after the instance hide
Source:

onShow

Fired after the instance show
Source:

ParentChange

Parent Change Event.
Source: