ObjectHelper
Static Method Summary
Static Public Methods | ||
public static |
addGetSetPropertyWithShadow(object: *, propName: *, prop: *, enumerable: boolean, writable: boolean, setCallback: undefined) |
|
public static |
addHiddenPropertyToObject(object: *, propName: *, prop: *, writable: boolean, useAccessors: boolean): * |
|
public static |
addPropertyToObject(object: *, propName: *, prop: *, enumerable: boolean, writable: boolean, setCallback: undefined, useAccessors: boolean) |
|
public static |
bindAllMethods(object: *, bindTarget: *) |
|
public static |
buildGetSetProperty(object: *, propName: *, enumerable: boolean, writable: boolean, setCallback: undefined): * |
|
public static |
buildPropertyShadow(object: *, propName: *, prop: *) |
|
public static |
getEnumerableProperties(object: *): * |
|
public static |
getMethodDescriptors(object: *): * |
|
public static |
getPrototypeEnumerableProperties(rootObject: *, prototype: *): * |
|
public static |
hideAllPropertiesFromObject(object: *) |
|
public static |
hideMethodsAndPrivatePropertiesFromObject(object: *) |
|
public static |
hideMethodsFromObject(object: *) |
|
public static |
hidePropertyFromObject(object: *, propName: *) |
Static Public Methods
public static addGetSetPropertyWithShadow(object: *, propName: *, prop: *, enumerable: boolean, writable: boolean, setCallback: undefined) source
public static addHiddenPropertyToObject(object: *, propName: *, prop: *, writable: boolean, useAccessors: boolean): * source
Return:
* |
public static addPropertyToObject(object: *, propName: *, prop: *, enumerable: boolean, writable: boolean, setCallback: undefined, useAccessors: boolean) source
public static bindAllMethods(object: *, bindTarget: *) source
Params:
Name | Type | Attribute | Description |
object | * | ||
bindTarget | * |
public static buildGetSetProperty(object: *, propName: *, enumerable: boolean, writable: boolean, setCallback: undefined): * source
Return:
* |
public static buildPropertyShadow(object: *, propName: *, prop: *) source
Params:
Name | Type | Attribute | Description |
object | * | ||
propName | * | ||
prop | * |
public static getEnumerableProperties(object: *): * source
Params:
Name | Type | Attribute | Description |
object | * |
Return:
* |
public static getMethodDescriptors(object: *): * source
Params:
Name | Type | Attribute | Description |
object | * |
Return:
* |
public static getPrototypeEnumerableProperties(rootObject: *, prototype: *): * source
Params:
Name | Type | Attribute | Description |
rootObject | * | ||
prototype | * |
Return:
* |
public static hideAllPropertiesFromObject(object: *) source
Params:
Name | Type | Attribute | Description |
object | * |
public static hideMethodsAndPrivatePropertiesFromObject(object: *) source
Params:
Name | Type | Attribute | Description |
object | * |
public static hideMethodsFromObject(object: *) source
Params:
Name | Type | Attribute | Description |
object | * |
public static hidePropertyFromObject(object: *, propName: *) source
Params:
Name | Type | Attribute | Description |
object | * | ||
propName | * |