Module: baja/comp/DynamicProperty

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

Methods


equals(obj)

Indicates whether some other object is equal to this one.

Parameters:
Name Type Description
obj Object

the reference object with which to compare.

Inherited From:
Returns:

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

Type
Boolean

getDefaultFlags()

Return the default flags for the Property.

Returns:
Type
Number

getDefaultValue()

Return the default value for the Property.

Returns:

the default value for the Property.


getFacets()

Return the Facets for the Property.

See:
Returns:

the Slot Facets


getFlags()

Return the Flags for the Property.

Overrides:
See:
Returns:
Type
Number

getName()

Return the name of the Slot.

Inherited From:
Returns:
Type
String

getType()

Return the Type for this Property.

Overrides:
Returns:

the Type for the Property.


isAction()

Is the Slot an Action?

Inherited From:
Returns:
Type
Boolean

isFrozen()

Is the Slot frozen?

Inherited From:
Returns:
Type
Boolean

isProperty()

Is this Slot a Property? Yes.

Inherited From:
Returns:
Type
Boolean

isTopic()

Is the Slot a Topic?

Inherited From:
Returns:
Type
Boolean

toString()

Return a String representation of the Slot.

Inherited From:
Returns:
Type
String

valueOf()

Return the inner value of the object.

By default the object's instance is returned.

Inherited From:
Returns:

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

Type
*