Allow Usage of Template Engines
See original GitHub issueIs your feature request related to a problem? Please describe. Currently there is no way to use templating syntax to make interpolation of values easier.
Describe the solution you’d like
A l-templating:precompile
directive directive for their appropriate uses. On initialization it should take the full inner HTML of elements using the l-tempating:precompile
directive and use the value of that directive to precompile the inner HTML into a function. Then, on data changes it calls that function and resets the inner HTML accordingly.
Describe alternatives you’ve considered
Rendering on the fly with a directive like l-templating:render
but that is less efficient and could be added later.
Additional context #8 will probably cause structural changes so this could tag along with that.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
Yeah, could be interesting. Maybe we should also have plugin support in mind
Agreed. Currently VDom refactor is priority so we can implement these changes