prosekit/web/table-handle
Anatomy
Section titled “Anatomy”Classes
Section titled “Classes”TableHandleColumnMenuRootElement
Section titled “TableHandleColumnMenuRootElement”<prosekit-table-handle-column-menu-root> custom element.
Properties: TableHandleColumnMenuRootProps
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”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
Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleColumnMenuTriggerElement
Section titled “TableHandleColumnMenuTriggerElement”<prosekit-table-handle-column-menu-trigger> custom element.
Properties: TableHandleColumnMenuTriggerProps
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleColumnPopupElement
Section titled “TableHandleColumnPopupElement”<prosekit-table-handle-column-popup> custom element.
Properties: TableHandleColumnPopupProps
Data attributes:
| Attribute | Description |
|---|---|
data-state | "open" when visible, "closed" otherwise |
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleColumnPositionerElement
Section titled “TableHandleColumnPositionerElement”<prosekit-table-handle-column-positioner> custom element.
Properties: TableHandleColumnPositionerProps
Data attributes:
| Attribute | Description |
|---|---|
data-state | "open" when visible, "closed" otherwise |
data-side | The side of the anchor element the positioner is on |
data-align | The alignment of the positioner relative to the anchor element |
CSS variables:
| Variable | Description |
|---|---|
--transform-origin | The coordinates that this element is anchored to. Useful for scale animations. |
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Properties
Section titled “Properties”-
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
-
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
-
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
-
placement:Placement -
The placement of the popover, relative to the hovered table cell.
Default
Section titled “Default”"top"
Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleDragPreviewElement
Section titled “TableHandleDragPreviewElement”<prosekit-table-handle-drag-preview> custom element.
Properties: TableHandleDragPreviewProps
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleDropIndicatorElement
Section titled “TableHandleDropIndicatorElement”<prosekit-table-handle-drop-indicator> custom element.
Properties: TableHandleDropIndicatorProps
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleRootElement
Section titled “TableHandleRootElement”<prosekit-table-handle-root> custom element.
Properties: TableHandleRootProps
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleRowMenuRootElement
Section titled “TableHandleRowMenuRootElement”<prosekit-table-handle-row-menu-root> custom element.
Properties: TableHandleRowMenuRootProps
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”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
Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleRowMenuTriggerElement
Section titled “TableHandleRowMenuTriggerElement”<prosekit-table-handle-row-menu-trigger> custom element.
Properties: TableHandleRowMenuTriggerProps
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleRowPopupElement
Section titled “TableHandleRowPopupElement”<prosekit-table-handle-row-popup> custom element.
Properties: TableHandleRowPopupProps
Data attributes:
| Attribute | Description |
|---|---|
data-state | "open" when visible, "closed" otherwise |
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
TableHandleRowPositionerElement
Section titled “TableHandleRowPositionerElement”<prosekit-table-handle-row-positioner> custom element.
Properties: TableHandleRowPositionerProps
Data attributes:
| Attribute | Description |
|---|---|
data-state | "open" when visible, "closed" otherwise |
data-side | The side of the anchor element the positioner is on |
data-align | The alignment of the positioner relative to the anchor element |
CSS variables:
| Variable | Description |
|---|---|
--transform-origin | The coordinates that this element is anchored to. Useful for scale animations. |
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”Properties
Section titled “Properties”-
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
-
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
-
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
-
placement:Placement -
The placement of the popover, relative to the hovered table cell.
Default
Section titled “Default”"left"
Methods
Section titled “Methods”-
addController(controller:ReactiveController):void
-
removeController(controller:ReactiveController):void
-
connectedCallback():void
-
disconnectedCallback():void
Interfaces
Section titled “Interfaces”TableHandleColumnMenuRootProps
Section titled “TableHandleColumnMenuRootProps”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
TableHandleColumnMenuTriggerProps
Section titled “TableHandleColumnMenuTriggerProps”TableHandleColumnPopupProps
Section titled “TableHandleColumnPopupProps”TableHandleColumnPositionerProps
Section titled “TableHandleColumnPositionerProps”Properties
Section titled “Properties”-
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
-
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
-
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
-
placement:Placement -
The placement of the popover, relative to the hovered table cell.
Default
Section titled “Default”"top"
TableHandleDragPreviewProps
Section titled “TableHandleDragPreviewProps”TableHandleDropIndicatorProps
Section titled “TableHandleDropIndicatorProps”TableHandleRootProps
Section titled “TableHandleRootProps”TableHandleRowMenuRootProps
Section titled “TableHandleRowMenuRootProps”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
TableHandleRowMenuTriggerProps
Section titled “TableHandleRowMenuTriggerProps”TableHandleRowPopupProps
Section titled “TableHandleRowPopupProps”TableHandleRowPositionerProps
Section titled “TableHandleRowPositionerProps”Properties
Section titled “Properties”-
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
-
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
-
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
-
placement:Placement -
The placement of the popover, relative to the hovered table cell.
Default
Section titled “Default”"left"