@com.vaadin.flow.router.Route(com.vaadin.flow.uitest.ui.template.PolymerDefaultPropertyValueView)

Here are the examples of the java api @com.vaadin.flow.router.Route(com.vaadin.flow.uitest.ui.template.PolymerDefaultPropertyValueView) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : PolymerDefaultPropertyValueView.java
with MIT License
from mcollovati

@Route("com.vaadin.flow.uitest.ui.template.PolymerDefaultPropertyValueView")
public clreplaced PolymerDefaultPropertyValueView extends AbstractDivView {

    public PolymerDefaultPropertyValueView() {
        PolymerDefaultPropertyValue template = new PolymerDefaultPropertyValue();
        template.setId("template");
        add(template);
        add(createButton("Show email value", "show-email", event -> createEmailValue(template)));
    }

    private void createEmailValue(PolymerDefaultPropertyValue template) {
        Div div = new Div();
        div.setText(template.getEmail());
        div.setId("email-value");
        add(div);
    }
}