Class: ItemsFactory

ItemsFactory

handsontable/src/plugins/contextMenu/itemsFactory.js, line 9

Predefined items class factory for menu items.

Methods

handsontable/src/plugins/contextMenu/itemsFactory.js, line 61

getItems(pattern){Array}

Get all menu items based on pattern.

Parameters:
Name Type Description
pattern Array | Object | Boolean

Pattern which you can define by displaying menu items order. If true default
pattern will be used.

Returns: {Array}
handsontable/src/plugins/contextMenu/itemsFactory.js, line 27

setPredefinedItems(predefinedItems)

Set predefined items.

Parameters:
Name Type Description
predefinedItems Array

Array of predefined items.