baja/comp/DynamicProperty

Defines a BajaScript implementation of a dynamic property (not exposed
on baja namespace).

Description:
  • Defines a BajaScript implementation of a dynamic property (not exposed
    on baja namespace).

Source:

Methods

equals(obj) → {Boolean}

Description:
  • Indicates whether some other object is equal to this one.

Source:
Inherited From:
Parameters:
Name Type Description
obj Object

the reference object with which to compare.

Returns:

true if this object is the same as the obj argument; false otherwise.

Type
Boolean

getDefaultFlags() → {Number}

Description:
  • Return the default flags for the Property.

Source:
Returns:
Type
Number

getDefaultValue()

Description:
  • Return the default value for the Property.

Source:
Returns:

the default value for the Property.

getFacets()

Description:
  • Return the Facets for the Property.

Source:
See:
Returns:

the Slot Facets

getFlags() → {Number}

Description:
  • Return the Flags for the Property.

Source:
Overrides:
See:
Returns:
Type
Number

getName() → {String}

Description:
  • Return the name of the Slot.

Source:
Inherited From:
Returns:
Type
String

getType()

Description:
  • Return the Type for this Property.

Source:
Overrides:
Returns:

the Type for the Property.

isAction() → {Boolean}

Description:
  • Is the Slot an Action?

Source:
Inherited From:
Returns:
Type
Boolean

isFrozen() → {Boolean}

Description:
  • Is the Slot frozen?

Source:
Inherited From:
Returns:
Type
Boolean

isProperty() → {Boolean}

Description:
  • Is this Slot a Property? Yes.

Source:
Inherited From:
Returns:
Type
Boolean

isTopic() → {Boolean}

Description:
  • Is the Slot a Topic?

Source:
Inherited From:
Returns:
Type
Boolean

toString() → {String}

Description:
  • Return a String representation of the Slot.

Source:
Inherited From:
Returns:
Type
String

valueOf() → {*}

Description:
  • Return the inner value of the object.

    By default the object's instance is returned.

Source:
Inherited From:
Returns:

the inner value of the object or just the object's instance.

Type
*