Crestron Components Lib - Showcase App

ch5-import-htmlsnippet: url

URL attribute

This component allows the users to load HTML snippets. The snippets should not contain HTML, HEAD, and BODY tags. Users can modularize the HTML files into pages or sections using this component, and it inserts the snippet into the DOM at the respective place during run time. Cross-domain requests for snippets are not allowed under the browser’s same origin policy.

<ch5-import-htmlsnippet
    url="ch5-import-htmlsnippet/ch5-import-htmlsnippet-content.html">
</ch5-import-htmlsnippet>