You are here

glossify-tooltip.html.twig in Glossify 8

Markup for inline tooltips.

Available variables:

  • word: the text where the tooltips applies to.
  • tip: the tooltip text.

File

templates/glossify-tooltip.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Markup for inline tooltips.
  5. *
  6. * Available variables:
  7. * - word: the text where the tooltips applies to.
  8. * - tip: the tooltip text.
  9. *
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <abbr title="{{ tip }}" class="glossify-tooltip-tip" lang="{{ lang }}">{{ word }}</abbr>