new Topic()
- Description:
Topic Slot.
Topicdefines aSlotwhich indicates an event that
is fired on aComponent.A new object should never be directly created with this Constructor. All Slots are
created internally by BajaScript.
- Source:
Extends
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
(abstract) getFlags() → {Number}
- Description:
Return the Flags for the slot.
- Source:
- Inherited From:
Returns:
- Type
- Number
getName() → {String}
- Description:
Return the name of the
Slot.
- Source:
- Inherited From:
Returns:
- Type
- String
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 the Slot a Property?
- Source:
- Inherited From:
Returns:
- Type
- Boolean
isTopic() → {Boolean}
- Description:
Is the Slot a Topic? Yes.
- Source:
- Overrides:
Returns:
- Type
- Boolean
toString() → {String}
- Description:
Return a
Stringrepresentation of theSlot.
- 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
- *