tiledash.setState
Sets a value the template reads as `state.<key>`, so the script can switch what the template draws around it.
Syntax
tiledash.setState(key, value)Example
tiledash.setState('period', 'week');Sets a value the template reads as `state.<key>`, so the script can switch what the template draws around it.
tiledash.setState(key, value)tiledash.setState('period', 'week');