WebReflection / lighterhtml

The hyperHTML strength & experience without its complexity 🎉
https://medium.com/@WebReflection/lit-html-vs-hyperhtml-vs-lighterhtml-c084abfe1285
ISC License
735 stars 20 forks source link

Binding properties #38

Closed robhicks closed 5 years ago

robhicks commented 5 years ago

lit-html has a nice feature for binding properties.

Does lighterhtml have a similar feature now or is one planned?

WebReflection commented 5 years ago

it has data=${...} special case that accepts any value, or you could pass an attribute as function that passes along the node and place in there whatever you like.