Lit-html: Cannot bind properties

Created on 15 Jan 2018  路  2Comments  路  Source: Polymer/lit-html

It appears that lit-html in its current form only supports attribute binding. This is a problem for applications where property types need to be preserved. I found lit-html-brackets which fixes this issue. Consider implementing some of its features in lit-html.

Most helpful comment

lit-html on purpose only supports HTML e.g. only attributes
lib/lit-extended.js supports properties and attributes and events...

All 2 comments

lit-html on purpose only supports HTML e.g. only attributes
lib/lit-extended.js supports properties and attributes and events...

@daKmoR is right. I'm considering whether the default library shouldn't actually be lit-extended, and lit-html be renamed something like lit-core.js for dialect authors.

I'll close this for now, but will open an issue for documentation or renaming libraries.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

justinfagnani picture justinfagnani  路  3Comments

erichiggins picture erichiggins  路  4Comments

justinfagnani picture justinfagnani  路  4Comments

abdonrd picture abdonrd  路  4Comments

dflorey picture dflorey  路  4Comments