Element wrapper of `.innerHTML` for data binding with HTML elements.
npm install @brightspace-ui-labs/s-htmlElement wrapper of .innerHTML for data binding with HTML elements.
Localize text with HTML elements using app-localize-behavior.
locales.json
``json`
{
"text": "Settings"
}
HTML
`html`
Using span element for content styled with CSS.
locales.json
`json`
{
"text": "Settings"
}
CSS
`css`
.red {
color: red;
}
HTML
`html`
Unescape escaped HTML elements.
locales.json
`json`
{
"text": "polymer <br>"
}
HTML
`html`
npm i @brightspace-ui-labs/s-html
MIT: StartPolymer/license
This repo is configured to use semantic-release. Commits prefixed with fix: and feat: will trigger patch and minor releases when merged to main`.
To learn how to create major releases and release from maintenance branches, refer to the semantic-release GitHub Action documentation.