BootsFaces tag auto completion shows duplicate properties style-class and styleClass

爷,独闯天下 提交于 2019-12-12 02:08:04

问题


Check the below screeshot,

why is there for instance style-class and styleClass?

I am using bootsfaces 0.9.0-SNAPSHOT


回答1:


Both versions are identical. Most web designers prefer the style-class version for their CSS class names. CamelCase is a tradition of Java developers. We felt that it looks odd to use CamelCase among all these boot-strap-css-classes. So we decided to implement the hyphen version as an alternative to the traditional CamelCase attribute names of JSF. We hope that it allows you to write files that look nicer, and maybe the attribute names are easier to memorize.



来源:https://stackoverflow.com/questions/36523920/bootsfaces-tag-auto-completion-shows-duplicate-properties-style-class-and-stylec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!