:: Documentation >>

init

Initializes the object.

All AW objects have an empty constructor. The constructor just calls init() method passing its arguments, which makes init() method equivalent to the constructor.

null

Syntax

obj.init = function(){
    // ...
};

Parameters

init method receives the parameters passed to the constructor

Example

obj.init = function(content){
    _super.init.call(this); // initialize superclass
    this.setContent("html", content);
};

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5