<juicy-html>
(precisely: <template is="juicy-html">
) is a custom element that lets you load HTML partials from JS objects and external files into your DOM. It acts more or less, as `include` statement known in many other languages. It also provides data binding, that works for native JS/HTML as well as for Polymer's dom-bind
. See README.md for more information.
<juicy-html>
with HTML partial loaded from a file<juicy-html>
with HTML partial loaded from inline markup<juicy-html>
with data binding (Polymer & native JS)<juicy-html>
in Polymer's <template is="dom-bind">
with inline HTML, and attached binding<juicy-html>
in Polymer's <template is="dom-bind">
with HTML partial loaded from a file, and attached binding<juicy-html>
content is stamped as sibling