This is great! Will you be making a blog entry about these features? Or would you like me to try to create one?
a On Tue, Feb 27, 2018 at 11:17 AM, Peter Ent <[email protected]> wrote: > Hi, > > I have committed a couple of new components to Royale in the develop > branch of the royale-asjs Git repository. This is a brief summary. > > Menu is class that lets you programmatically create and display pop-up > menus. Menu uses an Array of String or an Array of Object (when you give > Menu a labelField to select which item in each Object contains the label). > Menu will dispatch a "change" event when an item is selected. The Menu is > dismissed either by selecting an item or by selecting any where outside of > the Menu itself. The Menu class does not display nested or sub-menus; it is > a one-level only Menu. > > MenuBar is a class that can be specified in MXML and displays a horizontal > row of selectable items. MenuBar uses an Array of Objects, each Object > having an item that contains an Array of menu items; these can be nested to > produce a cascading set of menus. MenuBar will dispatch a "change" event > when an item on any menu (or sub-menu) is selected. The menus are dismissed > either by selecting an item or by selecting anywhere outside of the menus > themselves. > > MenuBar displays CascadingMenu instances by default. If you wish to use > Menu (which is a bit lighter and does not support sub-menus), you can > specify the menuClass either in MXML, ActionScript, or in a CSS style. > > Please see examples/MenuExample for an example of how to use Menu and > MenuBar. > > Regards, > Peter Ent > Adobe Systems/Apache Royale Project > > -- Andrew Wetmore http://cottage14.blogspot.com/
