
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@brightspace-ui-labs/s-html
Advanced tools
Element wrapper of `.innerHTML` for data binding with HTML elements.
Element wrapper of .innerHTML
for data binding with HTML elements.
Localize text with HTML elements using app-localize-behavior.
locales.json
{
"text": "<a href=\"/settings\">Settings</a>"
}
HTML
<s-html html="[[localize('text')]]"></s-html>
Using span
element for content styled with CSS.
locales.json
{
"text": "<a class=\"red\" href=\"/settings\">Settings</a>"
}
CSS
.red {
color: red;
}
HTML
<s-html html="[[localize('text')]]"><span></span></s-html>
Unescape escaped HTML elements.
locales.json
{
"text": "polymer <br>"
}
HTML
<s-html unescape html="[[localize('text')]]"></s-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.
FAQs
Element wrapper of `.innerHTML` for data binding with HTML elements.
The npm package @brightspace-ui-labs/s-html receives a total of 208 weekly downloads. As such, @brightspace-ui-labs/s-html popularity was classified as not popular.
We found that @brightspace-ui-labs/s-html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.