This is a migrated thread and some comments may be shown as answers.

document.registerElement Deprication

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 06 Feb 2019, 05:58 PM

Hello,

   I am a developer supporting a web app written in PHP that uses Kendo UI v2016.1.226.  Recently I have been seeing a console warning in Chrome stating that document.registerElement calls are deprecated and will be removed in M73, March 2019.  It also states to use window.customElements.define instead.

 

My question is has later versions of Kendo UI (specifically kendo.all.js) adjusted those calls?  The call I am being prompted on is on line 119478 and is part of a Kendo Library Function.  What version would I need to upgrade to in order to clear this warning?  Is the registerElement function affect PHP Users or Just Angular?

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 08 Feb 2019, 08:37 AM
Hello, Keith,

The Chrome warning has already been fixed.

It refers to an experimental script for web components which may be part of the bundle that is in the project. The only ones affected by this change are those who created and used the experimental kendo web components. 

For more information, you can check this forum thread:

https://www.telerik.com/forums/deprecation-of-document-registerelement

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Keith
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or