Holon Platform Quick Tutorial

I prefer Holon Platform Vaadin flow APIs over core Vaadin APIs because of its builder methods. It is easy to chain the methods so where ever possible I’d use Holon Platform. So, here is an example of it for the concepts explained here https://vaadin.com/learn/tutorials/vaadin-quick-start


public class MainView extends VerticalLayout {

    private VerticalLayout todoList;
    private Input<String> todoTask;

    public void init() {

                .add(Components.h2().text("Todo List").build())
                .add(todoList = Components.vl().build())

                        .add(todoTask = Components.input.string().build())
                                .onClick(click -> {

And the output looks like

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.