Menu
Lucia LogoLucia
InstallationDiscussionsGitHub
🌜
🌞
Lucia LogoLucia
  • Installation
  • Discussions
  • GitHub
  • Fundementals
    • Installation
    • Introduction
    • Todo App Example
    • Core Concepts
    • Special Cases
  • Directives
    • l-state Directive
    • l-text Directive
    • l-html Directive
    • l-show Directive
    • l-on Directive
    • l-bind Directive
    • l-for Directive
    • l-model Directive
    • l-ref Directive
    • l-mask Directive
  • Special Properties
    • $el Property
    • $render Property
    • $event Property
    • $emit Property
    • $refs Property

l-html Directive

l-html allows you to set the innerHTML of an element. This directive is somewhat dangerous because it can potentially result in unintended XSS.

Syntax: <p l-html="[expression]">...</p>

Example: <p l-html="key">...</p>

Edit this page
Previous
« l-text Directive
Next
l-show Directive »
Copyright © 2020-2021 Aiden Bai.
Fiscally sponsored by The Hack Foundation.
Nonprofit EIN: 81-2908499.