Hi The shadow dom is implemented in NG2 but not enabled by default.
You have a property in the @view or @component decorators (i do not remember which one) in order to specify the strategy you want to use. We have three strategies. The default one is no shadow dom. If your component has CSS styles, angular will use the second strategy where the CSS style declarations of your component will be prefixed by a unique CSS selector. This way will make your CSS declarations available only for the corresponding component. The framework use I think a typescript version of a webcomponent.js script for this strategy. The last one is the use of every thing ;) including shadow dom. Manu @EmmanuelDemey Le 6 sept. 2015 10:19, "David Michael Gang" <[email protected]> a écrit : > > Hi all, > > According to ng-conf 2015 Keynote 2 - Misko Hevery and Rado Kirov angular 2 will drop the use of transclude in favor of shadow dom. > > According to caniuse it is not supported neither in internet explorer nor in ie edge. > > Will this issue be addressed or will it just support browsers with support of shadow dom? > > Additionally how will the browser support look like? Will it be like in angular material, where the browser n-1 of all platforms will be supported? > > Thanks, > David > > -- > You received this message because you are subscribed to the Google Groups "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
