You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Add label content

Display text in a label:

<js:Label text="Hello, FlexJS"/>

Display HTML in a label:

<js:Label>
<js:html><![CDATA[<strong>display</strong> <em>a little</em> <span style="color:#ff0000">HTML</span>]]></js:html>
</js:Label>

Change label appearance

Set font styles in a single label:

<js:Label text="Hello, FlexJS">
<js:style>
<js:SimpleCSSStyles fontFamily="serif" fontSize="20"
fontWeight="bold" fontStyle="italic" color="#ff0000"/>
</js:style>
</js:Label>
  • No labels