HexagonJS
Menu Changelog
2.3.0
hx.MenuoptionsObject
options
featureFlags
Added
Added the useUpdatedStructure feature flag to remove the collapsibles when displaying grouped content in menus
1.13.0
Updated
Updated the display of the 'active' item to work as the user would expect
1.0.0
hx.MenuoptionsObject
options
alignString
Removed
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Removed
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Removed
Use dropdownOptions.ddClass instead.
hx-menu
hx-compliment
Removed
hx-menu
hx-action
Added
Added new action context class and updated default styles.
hx.menuSelection
Added
Fluid api version of Menu
0.15.3
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
0.15.2
hx.MenuoptionsObject
options
disabledBoolean
Added
Added the ability to disable a menu in the options
hx.Menu
disabledMenu
Added
Added the ability to disable/enable a menu
hx.Menu
disabledBoolean
Added
Added the ability to get the disabled state of a menu
hx.Menu
change
menuMenu
Added
Added the parent menu to the event data
hx.Menu
highlight
menuMenu
Added
Added the parent menu to the event data
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
0.15.1
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
0.15.0
hx.MenuoptionsObject
options
alignString
Deprecated
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Deprecated
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Deprecated
Use dropdownOptions.ddClass instead.
hx.MenuoptionsObject
options
dropdownOptions
Added
Added a dropdownOptions object to the menu options to allow the setting of all the dropdown options.
0.14.0
hx.Menu
Removed
Use hx.Menu(selector, options) instead.
hx.Menu
renderer
Removed
Use menu.renderer(render) to set the renderer instead.
hx.Menu
clearItems
Removed
Use hx.Menu.items to set the items to an empty array instead.
hx.Menu
render
Removed
Use menu.items() instead.
hx.Menu
render
Removed
Use menu.items() instead.
hx.Menu
select
Removed
Use the change event instead.
hx.Menu
activeset
Removed
Use the highlight event instead.
0.13.0
hx.Menu
Deprecated
Use hx.Menu(selector, options) instead.
hx.Menu
renderer
Deprecated
Deprecated the ability to set menu.renderer to a function. Use menu.renderer(render) to set the renderer instead.
hx.Menu
clearItems
Deprecated
Use hx.Menu.items to set the items to an empty array instead.
hx.Menu
add
Removed
hx.Menu
add
Removed
hx.Menu
Added
hx.Menu
rendererMenu
Added
A method used to set a custom renderer for a menu
menu = new hx.Menu('#selector');
menu.renderer(function(elem, item){
  // do your render stuff
});
menu.render(data);
hx.Menu
rendererFunction
Added
Gets the current item renderer function
hx.Menu
Added
Added a method for getting the current items for the menu.
hx.Menu
select
Added
Deprecated
Use the change event instead.
hx.Menu
activeset
Added
Deprecated
Use the highlight event instead.
hx.Menu
change
Added
Added a new event to replace the 'select' event.
hx.Menu
highlight
Added
Added a new event to replace the 'activeset' event
hx.Menu
dropdown.showstart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.showend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.hidestart
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.hideend
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
dropdown.changeBoolean
Added
Pipe the dropdown events through so they can be listened to directly.
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
0.12.10
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
0.12.9
hx.MenuextendsEventEmitter
Bugfix
Fix an issue with the dropdown content not being set correctly.
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
0.12.8
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
render
Deprecated
Replaced with menu.items for cross module consistency
hx.Menu
itemsMenu
Added
Replacement for menu.render.
hx.Menu
itemsMenu
Added
Replacement for menu.render.
0.12.7
hx.Menu
render
Added
Added a method for setting the data for the menu using a function.
0.12.2
hx.MenuextendsEventEmitter
Bugfix
Added code to prevent recursion when adding arrays of items.
0.12.0
hx.Menu
addItem
Removed
hx.Menu
addItems
Removed
0.11.0
hx.Menu
addItem
Deprecated
Use add(item) instead.
hx.Menu
addItems
Deprecated
Use add(items) instead.
hx.Menu
add
Added
Add an item to the menu. The format of the item can vary depending on the renderer that is defined.
hx.Menu
add
Added
A method of adding multiple items from an array.
0.10.0
hx-menu
hx-color-[n]
Removed
0.9.0
hx-menu
hx-color-[n]
Deprecated
All numbered color classes will be removed in a later version. Use the context classes instead.