Sclass

From Documentation
Revision as of 01:28, 8 September 2010 by Elton776 (talk | contribs) (Created page with '{{ZKStyleGuidePageHeader}} The purpose of the Sclass is to lightly change the CSS of the component. For example, <zk> <style dynamic="true"> .mydb { border: 1px solid blue; } …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The purpose of the Sclass is to lightly change the CSS of the component.

For example,

<zk> <style dynamic="true"> .mydb { border: 1px solid blue; } </style> <textbox sclass="mydb" value="having Sclass"/> <textbox value="Without Sclass"/> </zk> As you can see, the above example has two Textbox, one has the Sclass property, and the other has no the Sclass property. Most of the time we need to customize a style with a special field without influencing others, we can specify the Sclass property instead.



Last Update : 2010/09/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.