Parameter | Type | Description |
---|---|---|
item | undefined | |
store | undefined |
Turns a list of data store items into DTL compatible items
Parameter | Type | Description |
---|---|---|
parser | undefined | |
token | undefined |
contextItems
and contextStore
should be an item list
and a data store that get assigned to newVariable
{% bind_data contextItems to contextStore as newVariable %}
Queries a data store and makes the returned items DTL compatible
Parameter | Type | Description |
---|---|---|
parser | undefined | |
token | undefined |
You can only use this with data stores that work in a synchronous
way (meaning that onComplete
is fired during the fetch
call).
A sync
flag is sent to the fetch call so that stores that usually
work asynchronously make themselves syncrhonous if possible.
{% bind_query contextQuery to contextStore as newVariable %}
Parameter | Type | Description |
---|---|---|
items | undefined | |
query | undefined | |
store | undefined | |
alias | undefined |