new Instance(tag)
Parameters:
| Name | Type | Description |
|---|---|---|
tag |
string | The instance tag |
Methods
-
addProperty(propertyTag, value)
-
Set a value for the specified property. Override it if there already is a value.
Parameters:
Name Type Description propertyTagstring value* Returns:
-
deleteProperty(propertyTag)
-
Remove the specified property value from this instance.
Parameters:
Name Type Description propertyTagstring the property tag
Returns:
-
forEachProperty(callback)
-
Iterates over all properties of the instance with the callback
Parameters:
Name Type Description callbackfunction -
getTag()
-
Returns the instance tag
Returns:
- Type
- string
Olympe SDK