Object
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
constructor | Function | readonly | Points to the constructor function that created this object. Note that this property is treated as an XML element in the XML class. |
prototype | Object | readonly | Points to the prototype object for this object. Note that this property is treated as an XML element in the XML class. |
reflect | Reflection | readonly | Retrieves and returns the Reflection object associated with this method or a property. Note that this property is treated as an XML element in the XML class. |
Methods
Object Object (what:any)
Creates and returns a new object of a given type.
Parameter | Type | Description |
---|---|---|
what | any | The object type. |
bool hasOwnProperty (name:string)
Reports whether a given property is defined with an instance or within the prototype chain.
Parameter | Type | Description |
---|---|---|
name | string | The name of the property to check. |
bool isPrototypeOf (what:Object)
Checks whether the given object is a prototype of this object.
Parameter | Type | Description |
---|---|---|
what | Object | The object to check. |
bool isValid (what:Object)
Reports whether an object is still valid.
Parameter | Type | Description |
---|---|---|
what | Object | The object to check. |
bool propertyIsEnumerable (name:string)
Reports whether a given property is enumerable.
Parameter | Type | Description |
---|---|---|
name | string | The name of the property to check. |
string toLocaleString ()
Creates and returns a string representing this object, localized for the current locale. See toString().
string toSource ()
Creates and returns a string representation of this object.
string toString ()
Creates and returns a string representing this object.
void unwatch (name:string)
Removes the watch function of a property.
Parameter | Type | Description |
---|---|---|
name | string | The name of the property to unwatch. |
Object valueOf ()
Retrieves and returns the primitive value of this object.
void watch (name:string, func:Function)
Adds a watch function to a property, which is called when the value changes.
Parameter | Type | Description |
---|---|---|
name | string | The name of the property to watch. |
func | Function | The function to be called when the value of this property changes. |
Element of
$.global
$.screens
Function.arguments
Object.prototype
Used in
Function.apply (thisObj:Object, args:Array)
Function.call (thisObj:Object, argument:any)
Object.isValid (what:Object)
Object.isPrototypeOf (what:Object)
Return
Object Object.Object (what:any)
Object Object.valueOf ()
Object XML.defaultSettings ()
Object XML.settings ()