icon
Basics
Use icon
to add a standalone icon anywhere on the view.
<icon icon="CAR"/>
<icon icon="AIRPLANE"/>
<icon icon="TRAIN"/>
Icon Sets
There are two built-in icon sets containing frequently used icons: Vaadin and Lumo. To differentiate between sets, add its prefix before the icon name. If no prefix is present, the Vaadin set is used.
<icon icon="USER"/>
<icon icon="vaadin:user"/>
<icon icon="lumo:user"/>
Components with Icons
Icon can be a part of a component. See an example of using an icon with the button component.
Handlers
Чтобы сгенерировать заглушку обработчика в Jmix Studio, используйте вкладку Handlers панели инспектора Jmix UI, или команду Generate Handler, доступную на верхней панели контроллера экрана и через меню Code → Generate (Alt+Insert / Cmd+N). |
See Also
See Vaadin Docs for more information.