# getDefault(key)
This function returns the value of a default by key or all default if no key is given
Parameters
Name | Types | Description |
---|---|---|
key | String |
This the key of the default. |
Returns
Returns the current value for a default with a certain key.
# HypeActionEvents()
# hypeDocument.getSymbolInstance(element)
hypeDocument.getSymbolInstance 1.1 (by Stephen, modified by Max Ziebell)
Parameters
Name | Types | Description |
---|---|---|
element | HTMLDivElement |
The starting point for the search |
Returns
symbolInstance
Is either the symbolInstance or null
# hypeDocument.triggerAction(code, options)
hypeDocument.triggerAction
Parameters
Name | Types | Description |
---|---|---|
code | String |
The code to be executed |
options | Object |
The options for context |
Returns
*
whatever the code returns
# isHypePreview()
This function is determins if we in a Hype Preview.
Returns
Bolean
Return true if not on device
# setDefault(key, value)
This function allows to override a global default by key or if a object is given as key to override all default at once
Parameters
Name | Types | Description |
---|---|---|
key | String |
This is the key to override |
value | String |
Function |