:: Home >>

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.

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

No comments yet.
Comments will appear on this page and in the main forum.

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