glacier-web-cli 0.5.0

Command-line tool for creating and running Glacier applications.
1
2
3
4
5
6
{% props id: String, label: String, trigger: String = "", inner_block: Slot %}
{# trigger: the text of an outline button that opens it; leave it out to point your own control at the id with popovertarget #}
{%- if !trigger.is_empty() %}
<button class="ui-btn" data-variant="outline" type="button" popovertarget="{{ id }}">{{ trigger }}</button>
{%- end %}
<div class="ui-popover" id="{{ id }}" popover role="dialog" aria-label="{{ label }}">{{ inner_block }}</div>