Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<js:List labelField="label">
    <js:dataProvider>
<fx:Array>
            <fx:Object label="One"/>
            <fx:Object label="Two"/>
            <fx:Object label="Three"/>
            <fx:Object label="Four"/>
            <fx:Object label="Five"/>
        </fx:Array>
    </js:dataProvider>
</js:List>

The labelField specifies which property of the items will be displayed as text in the list's item renderers.

...