Skip to content

LasaleFamine/polymer-3-lit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polymer-3-lit

Working example with Polymer 3 and lit-html

What

Extending the PropertyAccessors class from the Polymer mixins I was able to use lit-html for rendering.
I created a PolyLitElement trying to replicate the Justin Fagnani example slide from the Polymer Summit 2017 that use the _propertyChanges from the accessors for rendering the content, calling the render() method of lit-html from the super-class.

Just check the source code to understand better and fill an issue if I'm making mistakes! This is actually a first try following the advice of Justin.

Build and dev

yarn build # Just build the bundle

yarn start # Run http-server on src folder

yarn dev # webpack -w

yarn test # xo

Feedbacks appreciate!

About

Polymer 3 with lit-html implementation for rendering.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published