AXA CH UI component library. Please share, comment, create issues and work with us!
Bot releases are visible (Hide)
Published by AndyOGo almost 6 years ago
A new version 2.0.1-beta.217
of the patterns-library has just been released π including breaking changes π£ :
document-register-element
and @ungap/custom-elements-builtin
constructor()
any more and should use init()
, which is called with the proper contexts - see caveats V1 https://github.com/WebReflection/document-register-element#v1-caveat
import '@webcomponents/webcomponentsjs/bundles/webcomponents-ce';
// better to load this only if it's needed
import 'document-register-element/'; // ES2015
// load this for browsers which support customElements without builtin (webkit)
import '@ungap/custom-elements-builtin';
constructor
s need to be replaced by init
, like so:
construcor(...) { super(...); }
init(...) {} super.init(...); }