imported-template icon indicating copy to clipboard operation
imported-template copied to clipboard

Add support for `ref` attribute

Open miyconst opened this issue 9 years ago • 3 comments

Right now imported-template can load content from a url or import html provided as content property.

It would be really nice to be able to import other templates like this:

<template id="my-template">
    <div>Some HTML here</div>
</template>
<template is="imported-template" ref="my-template"></template>

miyconst avatar Oct 14 '15 11:10 miyconst

As agreed with @tomalec and @warpech it should be another element, not a feature inside imported-template.

miyconst avatar Nov 09 '15 14:11 miyconst

@tomalec this is currently supported, right?

miyconst avatar Jun 11 '19 13:06 miyconst

no, it's not.

tomalec avatar Jun 11 '19 18:06 tomalec