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
<div class="{{ self.class_name() }}" role="progressbar" aria-valuemin="0" aria-valuenow="{{ self.bounded_value() }}" aria-valuemax="{{ max }}"{% if live %} aria-live="polite"{% endif %} style="{{ self.style() }}">
  {%- match label -%}
  {%- when Some with (text) -%}
  <div class="wf-strength-label">{{ text }}</div>
  {%- when None -%}
  {%- endmatch -%}
  <div class="wf-strength-track" aria-hidden="true"><div class="wf-strength-fill"></div></div>
  <div class="wf-strength-text">{{ text }}</div>
</div>