Style"
From Documentation
m ((via JWB)) |
m ((via JWB)) |
||
Line 9: | Line 9: | ||
= Employment/Purpose = | = Employment/Purpose = | ||
− | The style component used to specify < | + | The style component used to specify <code>CSS</code> styles for the owner desktop. |
'''Note:''' | '''Note:''' | ||
− | *a < | + | *a <code>style </code>component can appear anywhere in a <code>ZUML</code> page, but it affects all components in the same <code>desktop</code>. |
*getContent() simply get the string that is set by setContent(). If you call setSrc() or call the constructor of Style(), getContent() still gets null. | *getContent() simply get the string that is set by setContent(). If you call setSrc() or call the constructor of Style(), getContent() still gets null. | ||
Revision as of 10:40, 12 January 2022
Style
Employment/Purpose
The style component used to specify CSS
styles for the owner desktop.
Note:
- a
style
component can appear anywhere in aZUML
page, but it affects all components in the samedesktop
. - getContent() simply get the string that is set by setContent(). If you call setSrc() or call the constructor of Style(), getContent() still gets null.
Example
<style> a{ color:red; }</style>
Supported Events
None | None |
- Inherited Supported Events: AbstractComponent
Supported Children
*NONE
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
5.0.3 | June 2010 | The media property is supported. |