jQWidgets Forums

jQuery UI Widgets Forums General Discussions Deprecation of document.registerElement in Chrome

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 6 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • philipstratford
    Participant

    When running our application which uses jQWidgets version 6.0.5, the Chrome Dev Tools Console continually shows the following warning:

    jqx-all.js:17 [Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.

    I hoped that version 6.0.5 would have fixed this but it seems that it hasn’t. Is a future version planned which will remove the use of document.registerElement ahead of Google’s planned removal of support for the command?


    Peter Stoev
    Keymaster

    Unless you use jQWidgets Custom Elements, this should not affect you. We are working on moving our Custom Elements offering to Custom Element v1 standards and there we will use the newer API. document.registerElement can still be used with webcomponents.js polyfills the way it is shown on our website.

    Regards,
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.