:: Documentation >>

clone

Creates an object clone.

Clone is a fast copy of the original object. It is created by making an empty Object and setting its prototype to the original object.

null

Syntax

var newObj = obj.clone();

Returns

new object

Example

var obj = new AW.HTML.DIV;
obj.setStyle("border", "1px solid red");

var obj1 = obj.clone();
var obj2 = obj.clone();

Comments

clone jhon (1)

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