Lite Renderer Add-On
Lite Template Renderer for Vaadin Flow
[EXPERIMENTAL] A Renderer for Vaadin Flow that uses a component instance as template, intended for use as an alternative to LitRenderer.
Features
- Use component instances as template, instead of the HTML approach used by LitRenderer.
- The component is rewritten as a lit template.
Found a bug or have a suggestion? Report it on GitHub
For bug reports, feature suggestions, or questions, please open an issue on GitHub. This makes it easier for us to track and respond efficiently, ensuring you get the best possible support. Your input helps us improve—thank you!
Sample code
Do this: grid.addColumn(LiteRenderer.<Person>of( new Button("Update", ev->handleUpdate(LiteRenderer.getItem(ev, Item.class))), new Button("Update", ev->handleRemove(LiteRenderer.getItem(ev, Item.class))); Instead of: grid.addColumn(LitRenderer.<Person>of( "<button @click=\"${handleUpdate}\">Update</button>" + "<button @click=\"${handleRemove}\">Remove</button>") .withFunction("handleUpdate", person -> { ... }) .withFunction("handleRemove", person -> { ... }) )
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Initial Release
- Released
- 2024-10-07
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 24.4
- Browser
- Browser Independent
Lite Renderer Add-On - Vaadin Add-on Directory
Lite Template Renderer for Vaadin Flow[EXPERIMENTAL] A Renderer for Vaadin Flow that uses a component instance as template, intended for use as an alternative to LitRenderer.
#### Features
* Use component instances as template, instead of the HTML approach used by LitRenderer.
* The component is rewritten as a lit template.
#### Found a bug or have a suggestion? Report it on GitHub
For bug reports, feature suggestions, or questions, please open an issue on [GitHub](https://github.com/FlowingCode/LiteRenderer/issues). This makes it easier for us to track and respond efficiently, ensuring you get the best possible support. Your input helps us improve—thank you!
Issue trackerAuthor Homepage
View on GitHub
Online Demo
Lite Renderer Add-On version 0.0.1
Initial Release