sdk.contextualpanelbasedonselection
Home > @kittl/sdk > ContextualPanelBasedOnSelection
ContextualPanelBasedOnSelection interface
Interface for panel items that can be conditionally shown based on selected object types. Used for performance optimization by filtering which components need to check visibility.
Signature:
export interface ContextualPanelBasedOnSelection
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
Set<ObjectType> | (Optional) A set of object types that this component will show for. Because currently selected object can be an array, if _any_ item in the array exists in this set, we will show this button It's primarily used for performance improvements so we are not calling "useIsShowing" for hundreds of components |