When I create a custom component, I define a property which is array that could accept values from the enumeration, see code below:
[Inspectable(type="Array", defaultValue="day, month", enumeration="day, week, decade, month, year")]
public var selectionMode:Array;
I would like to know how I can pass array of values to my component from MXML application that uses my custom component.
I expect that it should be something like:
<custom:component selectionMode="[day, year]" />
But it doesn't work... Any idea?