prosekit/svelte/table-handle
Anatomy
Section titled “Anatomy”Interfaces
Section titled “Interfaces”TableHandleColumnMenuRootProps
Section titled “TableHandleColumnMenuRootProps”Props for the TableHandleColumnMenuRoot Svelte component.
Properties
Section titled “Properties”-
defaultOpen?:boolean -
Whether the overlay is initially open.
Default
Section titled “Default”false
-
open?:boolean|null -
Whether the overlay is currently open.
Default
Section titled “Default”null
-
disabled?:boolean -
Whether the component should ignore user interaction.
Default
Section titled “Default”false
-
children?:Snippet<[]>
TableHandleColumnMenuTriggerProps
Section titled “TableHandleColumnMenuTriggerProps”Props for the TableHandleColumnMenuTrigger Svelte component.
Properties
Section titled “Properties”-
children?:Snippet<[]>
TableHandleColumnPopupProps
Section titled “TableHandleColumnPopupProps”Props for the TableHandleColumnPopup Svelte component.
Properties
Section titled “Properties”-
children?:Snippet<[]>
TableHandleColumnPositionerProps
Section titled “TableHandleColumnPositionerProps”Props for the TableHandleColumnPositioner Svelte component.
Properties
Section titled “Properties”-
placement?:Placement -
The placement of the popover, relative to the hovered table cell.
Default
Section titled “Default”"top"
-
strategy?:"fixed"|"absolute" -
The strategy to use for positioning
Default
Section titled “Default”"absolute"
-
autoUpdate?:boolean|AutoUpdateOptions -
Options to activate auto-update listeners
https://floating-ui.com/docs/autoUpdate
Default
Section titled “Default”true
-
hoist?:boolean -
Whether to use the browser Popover API to place the floating element on top of other page content.
Default
Section titled “Default”false
-
overlap?:boolean -
Whether the floating element can overlap the reference element to keep it in view.
Default
Section titled “Default”false
-
fitViewport?:boolean -
Whether to constrain the floating element's width and height to not exceed the viewport.
Default
Section titled “Default”false
-
sameWidth?:boolean -
Whether to constrain the floating element's width so that it matches the reference element.
Default
Section titled “Default”false
-
sameHeight?:boolean -
Whether to constrain the floating element's height so that it matches the reference element.
Default
Section titled “Default”false
-
inline?:boolean -
Whether to improve positioning for inline reference elements that span over multiple lines.
Default
Section titled “Default”false
-
boundary?:Boundary -
Describes the clipping element(s) or area that overflow will be checked relative to. Please see https://floating-ui.com/docs/detectoverflow#boundary for more information.
Default
Section titled “Default”'clippingAncestors'
-
rootBoundary?:RootBoundary -
Describes the root boundary that the element will be checked for overflow relative to. Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information.
Default
Section titled “Default”'viewport'
-
overflowPadding?:number -
Describes the virtual padding around the boundary to check for overflow. Please see https://floating-ui.com/docs/detectoverflow#padding for more information.
Default
Section titled “Default”4
-
elementContext?:ElementContext -
The element that will be used to check for overflow. Please see https://floating-ui.com/docs/detectoverflow#elementcontext for more information.
Default
Section titled “Default”'floating'
-
altBoundary?:boolean -
Whether to check the alternate elementContext's boundary. Please see https://floating-ui.com/docs/detectoverflow#altboundary for more information.
Default
Section titled “Default”false
-
children?:Snippet<[]>
TableHandleDragPreviewProps
Section titled “TableHandleDragPreviewProps”Props for the TableHandleDragPreview Svelte component.
Properties
Section titled “Properties”-
children?:Snippet<[]>
TableHandleDropIndicatorProps
Section titled “TableHandleDropIndicatorProps”Props for the TableHandleDropIndicator Svelte component.
Properties
Section titled “Properties”-
children?:Snippet<[]>
TableHandleRootProps
Section titled “TableHandleRootProps”Props for the TableHandleRoot Svelte component.
Properties
Section titled “Properties”-
children?:Snippet<[]>
TableHandleRowMenuRootProps
Section titled “TableHandleRowMenuRootProps”Props for the TableHandleRowMenuRoot Svelte component.
Properties
Section titled “Properties”-
defaultOpen?:boolean -
Whether the overlay is initially open.
Default
Section titled “Default”false
-
open?:boolean|null -
Whether the overlay is currently open.
Default
Section titled “Default”null
-
disabled?:boolean -
Whether the component should ignore user interaction.
Default
Section titled “Default”false
-
children?:Snippet<[]>
TableHandleRowMenuTriggerProps
Section titled “TableHandleRowMenuTriggerProps”Props for the TableHandleRowMenuTrigger Svelte component.
Properties
Section titled “Properties”-
children?:Snippet<[]>
TableHandleRowPopupProps
Section titled “TableHandleRowPopupProps”Props for the TableHandleRowPopup Svelte component.
Properties
Section titled “Properties”-
children?:Snippet<[]>
TableHandleRowPositionerProps
Section titled “TableHandleRowPositionerProps”Props for the TableHandleRowPositioner Svelte component.
Properties
Section titled “Properties”-
placement?:Placement -
The placement of the popover, relative to the hovered table cell.
Default
Section titled “Default”"left"
-
strategy?:"fixed"|"absolute" -
The strategy to use for positioning
Default
Section titled “Default”"absolute"
-
autoUpdate?:boolean|AutoUpdateOptions -
Options to activate auto-update listeners
https://floating-ui.com/docs/autoUpdate
Default
Section titled “Default”true
-
hoist?:boolean -
Whether to use the browser Popover API to place the floating element on top of other page content.
Default
Section titled “Default”false
-
overlap?:boolean -
Whether the floating element can overlap the reference element to keep it in view.
Default
Section titled “Default”false
-
fitViewport?:boolean -
Whether to constrain the floating element's width and height to not exceed the viewport.
Default
Section titled “Default”false
-
sameWidth?:boolean -
Whether to constrain the floating element's width so that it matches the reference element.
Default
Section titled “Default”false
-
sameHeight?:boolean -
Whether to constrain the floating element's height so that it matches the reference element.
Default
Section titled “Default”false
-
inline?:boolean -
Whether to improve positioning for inline reference elements that span over multiple lines.
Default
Section titled “Default”false
-
boundary?:Boundary -
Describes the clipping element(s) or area that overflow will be checked relative to. Please see https://floating-ui.com/docs/detectoverflow#boundary for more information.
Default
Section titled “Default”'clippingAncestors'
-
rootBoundary?:RootBoundary -
Describes the root boundary that the element will be checked for overflow relative to. Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information.
Default
Section titled “Default”'viewport'
-
overflowPadding?:number -
Describes the virtual padding around the boundary to check for overflow. Please see https://floating-ui.com/docs/detectoverflow#padding for more information.
Default
Section titled “Default”4
-
elementContext?:ElementContext -
The element that will be used to check for overflow. Please see https://floating-ui.com/docs/detectoverflow#elementcontext for more information.
Default
Section titled “Default”'floating'
-
altBoundary?:boolean -
Whether to check the alternate elementContext's boundary. Please see https://floating-ui.com/docs/detectoverflow#altboundary for more information.
Default
Section titled “Default”false
-
children?:Snippet<[]>
Variables
Section titled “Variables”TableHandleColumnMenuRoot
Section titled “TableHandleColumnMenuRoot”-
const TableHandleColumnMenuRoot:Component<TableHandleColumnMenuRootProps&HTMLAttributes<TableHandleColumnMenuRootElement>> -
A Svelte component that renders an
prosekit-table-handle-column-menu-rootcustom element.
TableHandleColumnMenuTrigger
Section titled “TableHandleColumnMenuTrigger”-
const TableHandleColumnMenuTrigger:Component<TableHandleColumnMenuTriggerProps&HTMLAttributes<TableHandleColumnMenuTriggerElement>> -
A Svelte component that renders an
prosekit-table-handle-column-menu-triggercustom element.
TableHandleColumnPopup
Section titled “TableHandleColumnPopup”-
const TableHandleColumnPopup:Component<TableHandleColumnPopupProps&HTMLAttributes<TableHandleColumnPopupElement>> -
A Svelte component that renders an
prosekit-table-handle-column-popupcustom element.
TableHandleColumnPositioner
Section titled “TableHandleColumnPositioner”-
const TableHandleColumnPositioner:Component<TableHandleColumnPositionerProps&HTMLAttributes<TableHandleColumnPositionerElement>> -
A Svelte component that renders an
prosekit-table-handle-column-positionercustom element.
TableHandleDragPreview
Section titled “TableHandleDragPreview”-
const TableHandleDragPreview:Component<TableHandleDragPreviewProps&HTMLAttributes<TableHandleDragPreviewElement>> -
A Svelte component that renders an
prosekit-table-handle-drag-previewcustom element.
TableHandleDropIndicator
Section titled “TableHandleDropIndicator”-
const TableHandleDropIndicator:Component<TableHandleDropIndicatorProps&HTMLAttributes<TableHandleDropIndicatorElement>> -
A Svelte component that renders an
prosekit-table-handle-drop-indicatorcustom element.
TableHandleRoot
Section titled “TableHandleRoot”-
const TableHandleRoot:Component<TableHandleRootProps&HTMLAttributes<TableHandleRootElement>> -
A Svelte component that renders an
prosekit-table-handle-rootcustom element.
TableHandleRowMenuRoot
Section titled “TableHandleRowMenuRoot”-
const TableHandleRowMenuRoot:Component<TableHandleRowMenuRootProps&HTMLAttributes<TableHandleRowMenuRootElement>> -
A Svelte component that renders an
prosekit-table-handle-row-menu-rootcustom element.
TableHandleRowMenuTrigger
Section titled “TableHandleRowMenuTrigger”-
const TableHandleRowMenuTrigger:Component<TableHandleRowMenuTriggerProps&HTMLAttributes<TableHandleRowMenuTriggerElement>> -
A Svelte component that renders an
prosekit-table-handle-row-menu-triggercustom element.
TableHandleRowPopup
Section titled “TableHandleRowPopup”-
const TableHandleRowPopup:Component<TableHandleRowPopupProps&HTMLAttributes<TableHandleRowPopupElement>> -
A Svelte component that renders an
prosekit-table-handle-row-popupcustom element.
TableHandleRowPositioner
Section titled “TableHandleRowPositioner”-
const TableHandleRowPositioner:Component<TableHandleRowPositionerProps&HTMLAttributes<TableHandleRowPositionerElement>> -
A Svelte component that renders an
prosekit-table-handle-row-positionercustom element.