Style"

From Documentation
m ((via JWB))
 
Line 12: Line 12:
  
 
'''Note:'''  
 
'''Note:'''  
*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>.
+
*a <code>style</code> component can appear anywhere in a zul 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.
+
* <code>getContent()</code> simply gets the string that is set by setContent(). If you call setSrc() or call the constructor of Style(), getContent() still gets null.
  
 
= Example =
 
= Example =

Latest revision as of 09:26, 30 August 2023

Style

  • Demonstration: Style
  • Java API: Style
  • JavaScript API: Style
  • Style Guide: N/A

Employment/Purpose

The style component used to specify CSS styles for the owner desktop.

Note:

  • a style component can appear anywhere in a zul page, but it affects all components in the same desktop.
  • getContent() simply gets the string that is set by setContent(). If you call setSrc() or call the constructor of Style(), getContent() still gets null.

Example


ZKComRef Style Example.png

<style> a{ color:red; }</style>

Supported Events

Name
Event Type
None None

Supported Children

*NONE

Use Cases

Version Description Example Location
     

Version History

Last Update : 2023/08/30


Version Date Content
5.0.3 June 2010 The media property is supported.



Last Update : 2023/08/30

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