angular - Angular2 Exception: TypeError el.createShadowRoot is not a function (Safari/Edge) -
i have angular2 app works great in chrome , firefox, in safari error:
typeerror el.createshadowroot not function
and in edge:
object doesn't support property or method 'createshadowroot' @ browserdomadapter.prototype.createshadowroot (http://localhost:5000/lib/angular2/bundles/angular2.dev.js:22893:7)
is there shim or polymer missing?
createshadowroot() should called if use viewencapsulation.native.
either use viewencapsulation.emulated or ensure polyfills loaded (i can't guide how, because don't use ts toolchain, dart)

Comments
Post a Comment