Skip to main content

Function: SelectionActionExpand()

SelectionActionExpand(props): null | Element

Defined in: widgets/selectionAction.tsx:336

Selection action component to toggle expanded state for the selected elements.

Elements are collapsed if all of them are expanded, otherwise only collapsed ones are expanded instead.

This action is visible only when at least one of the selected elements have TemplateProperties.Expanded property in ElementTemplate.supports.

Expanding or collapsing the elements adds a command to the command history.

Parameters

ParameterType

props

SelectionActionExpandProps

Returns

null | Element