# s-html **Repository Path**: mirrors_Brightspace/s-html ## Basic Information - **Project Name**: s-html - **Description**: Element wrapper of .innerHTML for data binding with HTML elements. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @brightspace-ui-labs/s-html Element wrapper of `.innerHTML` for data binding with HTML elements. ## Usage ### Example 1 Localize text with HTML elements using [app-localize-behavior](https://github.com/PolymerElements/app-localize-behavior). locales.json ```json { "text": "Settings" } ``` HTML ```html ``` ### Example 2 Using `span` element for content styled with CSS. locales.json ```json { "text": "Settings" } ``` CSS ```css .red { color: red; } ``` HTML ```html ``` ### Example 3 Unescape escaped HTML elements. locales.json ```json { "text": "polymer <br>" } ``` HTML ```html ``` ## Installation `npm i @brightspace-ui-labs/s-html` ## License MIT: [StartPolymer/license](https://github.com/StartPolymer/license) ## Versioning and Releasing 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](https://github.com/BrightspaceUI/actions/tree/main/semantic-release) documentation.