indicator
The indicator helper block in the template serves as a declarative mechanism for conditionally rendering UI elements based on the current status of a server request, such as 403, "pending", etc.
| Property | Type | Default | Description | Required | 
|---|---|---|---|---|
| trigger | string | — | The status that the indicator is showing | Yes | 
{{#indicator trigger="pending"}}    <span>Loading...</span>{{/indicator}}This helper block is completely based on the indicator attribute.
Nesting
Section titled “Nesting”Only HTML markup. Also, used only within the request helper block.
{{#indicator trigger=403}}    <div>Access error!</div>    <button>Reload page</button>{{/indicator}}trigger
Section titled “trigger”The trigger property specifies the status condition under which the associated content should be displayed.
{{#indicator trigger="error"}}    <div>Error!</div>{{/indicator}}See the list of values.