Skip to content

DispatchEntry

Description

Display a data from the dispatches based on configuration.

Attributes

  • tile: dispatch-entry | dispatchEntry
  • align: center | top. Alignment of dispatch data.
  • show: [Array of item] title: if item include title then display title template: if item include a template then display a template string *body: if item include body word then display the dispatch body.
  • icon: Icon to display with list
  • entry:[Objects]
    • query: Valid dispatch query
    • template: Template string path based on dispatches values

Example

 {
  "tile": "dispatch-entry",
  "align": "top",
  "icon": "heart",
  "entry": {
    "query": "given tracker[wellness]",
    "template": "{values.sleep}"
  },
  "show": [
    "template",
    "body",
    "title"
  ]
}

Example1

{
  "tile": "dispatch-entry",
  "align": "center",
  "icon": "heart",
  "entry": {
    "query": "given tracker[wellness]",
    "template": "{values.sleep}"
  },
  "show": [
    "template",
    "body",
    "title"
  ]
}