inputEx-library

inputEx  0.7.1

inputEx-library > inputEx > inputEx.MenuField
Search:
 
Filters

Class inputEx.MenuField - extends inputEx.Field

Create a menu field

Constructor

inputEx.MenuField ( options )
Parameters:
options <Object> Added options:
  • typeInvite : text to display when no selection made
  • menuItems : contains descriptions of menu items
  • menuTrigger : event to trigger menu show
  • menuPosition : array of corners positions (syntax : ['menu popup corner','invite div corner'])
  • menuConfig (optional) : object used as a config for the YUI Menu generated by MenuField

Properties inherited from inputEx.Field:

Methods

renderComponent

void renderComponent ( )
Build a menu

setOptions

void setOptions ( options )
Set the default values of the options
Parameters:
options <Object> Options object as passed to the constructor

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.