-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Shadow DOM through HTML #465
Comments
@3cp this might be an interesting one to pick up while you are doing the shadow dom convention. |
Sounds good. Following per-file attribute will overwrite the option on bundler plugin. <template use-shadow-dom>
<template use-shadow-dom="open">
<template use-shadow-dom="closed"> Different from vcurrent, the |
Since Aurelia 2 recommends to move import/require to above template tag, while supporting existing <use-shadow-dom mode="closed">
<import from="./foo.css">
<template></template> The Note, the closing |
I do like the fact that |
🙋 Feature Request
HTML Only elements should be able to declare that they use shadow dom.
🤔 Expected Behavior
Developers should be able to declare shadow dom use through HTML, not just JavaScript.
😯 Current Behavior
Shadow DOM can only be enabled through JavaScript.
💁 Possible Solution
See here for vCurrent: See here for the vCurrent behavior: aurelia/templating-resources#368
The text was updated successfully, but these errors were encountered: