inputEx Documentation Back to homepage

inputEx Documentation > inputEx.MenuField 0.2.2

Static Class inputEx.MenuField - extends inputEx.Field

Create a menu field

Constructor

inputEx.MenuField ( options )
Parameters:
options <Object>  - Added options:
  • menuItems : contains descriptions of menu items
  • menuTrigger : event to trigger menu show
  • menuInvite : text to display when no selection made
  • menuPosition : array of corners positions (syntax : ['menu popup corner','invite div corner'])

Properties

static  groupOptions - Object

group Options for each field

options - Object

Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.

Methods

getValue

getValue()

initEvents

initEvents()

initMenu

initMenu()

initMenuItems

initMenuItems()

onItemClick

onItemClick(p_sType,p_aArgs,p_Value)
Parameters:
    p_sType
    p_aArgs
    p_Value

renderComponent

renderComponent()
Build a menu

setOptions

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

setValue

setValue(value,sendUpdatedEvt)
Parameters:
    value
    sendUpdatedEvt




Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:31 GMT using neyricjslibs-template.