SelectionWrapperOptions
Options for the Selection wrapper prop β the overlay rectangle that
hosts the selection handles and bbox outline, plus its handle / group config
(handles render inside the wrapper; a hidden wrapper has no handles).
Extendsβ
Omit<ui.HTMLSelectionWrapper.Options,"visibility">
Indexableβ
[key: string]: any
[key: number]: any
Propertiesβ
groups?β
optional groups?: object;
Handle groups: see ui.Selection.HandleGroup.
Index Signatureβ
[groupName: string]: HandleGroup
handles?β
optional handles?: SelectionHandles;
Selection handles. Array to fully override the defaults, or a
function (defaultHandles) => Selection.Handle[] to transform the
defaults, useful for filtering / tweaking individual handles
without re-listing them all. Mirrors the <Halo handles> pattern.
preserveAspectRatio?β
optional preserveAspectRatio?: boolean;
Lock aspect ratio while resizing. Lives here because it only has meaning when the wrapper renders a resize handle.
rotateAngleGrid?β
optional rotateAngleGrid?: number;
Rotation snap step (degrees). Lives here because it only has meaning when the wrapper renders a rotate handle.
Defaultβ
15
visibility?β
optional visibility?: SelectionWrapperVisibility;
Whether the wrapper rectangle (and therefore its handles) is shown:
true / false for a fixed value, or (collection) => boolean to decide
dynamically from the current selection.
Defaultβ
shown only while more than one cell is selected