add class name to element in uibinder xml file

前端 未结 2 1709
执笔经年
执笔经年 2021-02-07 05:28

The following replaces any current css class names. It appears to call setStyleName.


         


        
2条回答
  •  长情又很酷
    2021-02-07 06:11

    Yes addStyleNames is the solution. And it is actually mentioned in the documentation: UiObject. See section "Use in UiBinder Templates".

提交回复
热议问题