SmallMultipleCanvasService.getSelectionContextualCommands Method

Get the contextual commands.
 

Parameters

viewModels

Type: Array
ElementType: CanvasSelectableViewModel
The view models to get contextual commands for.
subSelectionContext

ElementType: Object{e, left, top}

        The subselection context, useful only when there is only one viewModel
         e - [type: event] - the event that fired in order to get the context.
         left - [type: Number] - the left coordinate of related to the viewModel at which the event is fired.
         top - [type: Number] - the top coordinate of related to the viewModel at which the event is fired.
 

Return Value


Type: Array
ElementType: Command
The contextual commands.