wavefunk-ui 0.1.5

Askama and htmx UI component base for Wave Funk Rust applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
<div class="wf-pop-anchor">
  {{ trigger_html }}
  <div class="{{ self.popover_class() }}" data-side="{{ side }}">
    {%- match heading -%}
    {%- when Some with (text) -%}
    <div class="wf-popover-head">{{ text }}</div>
    {%- when None -%}
    {%- endmatch -%}
    <div class="wf-popover-body">{{ body_html }}</div>
  </div>
</div>