Skip to main content

ReactSelectionOptions

Options for declaring a selection that this component will manage.

Properties

autoFill?

optional autoFill: boolean

Optional. If true, the selection will automatically reload when nodes/groups are added to the main model.


generator

generator: SelectionGenerator

Required. A function that will populate the selection.


onBeforeReload?

optional onBeforeReload: Function

Optional. Called before the selection is cleared at the beginning of a reload, when a generator is supplied.


onReload?

optional onReload: Function

Optional. Called after a reload when a generator was supplied.