# addScrollTimeline(hypeDocument, element, timelineName, options)
Parameters
Name | Types | Description |
---|---|---|
hypeDocument | object |
- the current Hype document |
element | HTMLElement |
- the element to add the scroll timeline to |
timelineName | string |
- the name of the timeline |
options | object |
- the options for the timeline |
# 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.
# getSymbolInstance(hypeDocument, element)
Parameters
Name | Types | Description |
---|---|---|
hypeDocument | object |
- the current Hype document |
element | HTMLElement |
- the element to get the symbol instance for |
# 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 |