0

Is there a way to import content via an X-Tag register from an external file?

So Something like:

xtag.register('x-modal', {
    content: url('../modal.html');   
});

I know that isn't correct, but is there something similar?

Thanks!

Heather
  • 3
  • 6
  • Are you wanting to change the contents of `x-modal` dynamically, or just load a template from an html file? – jpec Apr 18 '16 at 21:42
  • Load an external file into the index.html, I ended up using an ajax call to load the files. – Heather Apr 20 '16 at 13:51

0 Answers0