Make tooltip module and update example

This commit is contained in:
luis cielak
2018-08-09 14:06:29 -04:00
parent fcbb16afc6
commit 30a84c3ac6
2 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
{% from "components/icon.html" import Icon %}
{% macro Tooltip(message) -%}
<span v-tooltip="{content: '{{message}}'}">
{{ Icon('help') }}
</span>
{%- endmacro %}