Polymer lit element error

32 views
Skip to first unread message

Lorenzo Wagner

unread,
May 11, 2018, 9:47:11 PM5/11/18
to Polymer
How implement polymer lit-element and use repeat and until as lit-html  https://alligator.io/web-components/lit-html/ .  ?

With examples of GitHub https://github.com/Polymer/lit-element .  I get a error  implement  _render method....

You have to use TypeScript ?

Justin Fagnani

unread,
May 11, 2018, 9:57:10 PM5/11/18
to lrnz...@gmail.com, polymer-dev
You don't have to use TypeScript.

Are you implementing _render() in your subclass? The default implementation of _render() throws to tell you to implement it.

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/d0a0025e-22d2-44a0-a958-7c2ce990e009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lorenzo Wagner

unread,
May 12, 2018, 11:44:17 AM5/12/18
to Polymer
Solved; there was not html import.
I still have problems implement unitl.js and repeat.js in lit-element...some example ?
Reply all
Reply to author
Forward
0 new messages