methods
- object toSource()
-
Returns a literal representing the source code of the object e.g
"function Object() { [native code] }" or "function Car(manufactuer,
model, productionyear) { this.make = manufactuer; this.model = model;
this.year = productionyear; }".
- string toString()
-
Returns a string representing the object i.e. "[object Object]".
- void unwatch(property)
-
Removes a previously set watchpoint.
- object valueOf()
-
Returns the primitive value of the object e.g. "function Object() { [native code] }".
- void watch(property, handlingFunction)
-
Calls the handlingFunction when the property is changed.
properties
- border
-
The value provided in the border attribute of the HTML tag.
- complete
-
A boolean indicating whether or not the image has completely loaded in the browser window.
- constructor
-
The constructor method is the base method used to create an instance of the object.
- height
-
The value provided in the height attribute of the HTML tag, or the height of the image if no height was specified.
- hspace
-
The value provided in the hspace attribute of the HTML tag.
- lowsrc
-
The value provided in the lowsrc attribute of the HTML tag.
- prototype
-
Exposes the prototype for the method or property of the object.
- src
-
The value provided in the src attribute of the HTML tag.
- vspace
-
The value provided in the vspace attribute of the HTML tag.
- width
-
The value provided in the width attribute of the HTML tag, or the width of the image if no width was specified.
events
- onabort
-
- onblur
-
- onclick
-
- ondblclick
-
- onerror
-
- onfocus
-
- onkeydown
-
- onkeypress
-
- onkeyup
-
- onload
-
- onmousedown
-
- onmouseout
-
- onmouseover
-
- onmouseup
-
- onresize
-