BootsFaces tag auto completion shows duplicate pro

2019-09-10 02:13发布

Check the below screeshot,

enter image description here

why is there for instance style-class and styleClass?

I am using bootsfaces 0.9.0-SNAPSHOT

1条回答
狗以群分
2楼-- · 2019-09-10 02:57

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.

查看更多
登录 后发表回答