Skip to content

prosekit/react/block-handle

import {
  BlockHandleAdd,
  BlockHandleDraggable,
  BlockHandlePopup,
  BlockHandlePositioner,
  BlockHandleRoot,
} from 'prosekit/react/block-handle'

<BlockHandleRoot>
  <BlockHandlePositioner>
    <BlockHandlePopup>
      <BlockHandleAdd>...</BlockHandleAdd>
      <BlockHandleDraggable>...</BlockHandleDraggable>
    </BlockHandlePopup>
  </BlockHandlePositioner>
</BlockHandleRoot>

Props for the BlockHandleAdd React component.

children?: ReactNode

dangerouslySetInnerHTML?: object

onCopy?: ClipboardEventHandler<BlockHandleAddElement>

onCopyCapture?: ClipboardEventHandler<BlockHandleAddElement>

onCut?: ClipboardEventHandler<BlockHandleAddElement>

onCutCapture?: ClipboardEventHandler<BlockHandleAddElement>

onPaste?: ClipboardEventHandler<BlockHandleAddElement>

onPasteCapture?: ClipboardEventHandler<BlockHandleAddElement>

onCompositionEnd?: CompositionEventHandler<BlockHandleAddElement>

onCompositionEndCapture?: CompositionEventHandler<BlockHandleAddElement>

onCompositionStart?: CompositionEventHandler<BlockHandleAddElement>

onCompositionStartCapture?: CompositionEventHandler<BlockHandleAddElement>

onCompositionUpdate?: CompositionEventHandler<BlockHandleAddElement>

onCompositionUpdateCapture?: CompositionEventHandler<BlockHandleAddElement>

onFocus?: FocusEventHandler<BlockHandleAddElement>

onFocusCapture?: FocusEventHandler<BlockHandleAddElement>

onBlur?: FocusEventHandler<BlockHandleAddElement>

onBlurCapture?: FocusEventHandler<BlockHandleAddElement>

onChange?: ChangeEventHandler<BlockHandleAddElement, Element>

onChangeCapture?: ChangeEventHandler<BlockHandleAddElement, Element>

onBeforeInput?: InputEventHandler<BlockHandleAddElement>

onBeforeInputCapture?: InputEventHandler<BlockHandleAddElement>

onInput?: InputEventHandler<BlockHandleAddElement>

onInputCapture?: InputEventHandler<BlockHandleAddElement>

onReset?: ReactEventHandler<BlockHandleAddElement>

onResetCapture?: ReactEventHandler<BlockHandleAddElement>

onSubmit?: SubmitEventHandler<BlockHandleAddElement>

onSubmitCapture?: SubmitEventHandler<BlockHandleAddElement>

onInvalid?: ReactEventHandler<BlockHandleAddElement>

onInvalidCapture?: ReactEventHandler<BlockHandleAddElement>

onLoad?: ReactEventHandler<BlockHandleAddElement>

onLoadCapture?: ReactEventHandler<BlockHandleAddElement>

onError?: ReactEventHandler<BlockHandleAddElement>

onErrorCapture?: ReactEventHandler<BlockHandleAddElement>

onKeyDown?: KeyboardEventHandler<BlockHandleAddElement>

onKeyDownCapture?: KeyboardEventHandler<BlockHandleAddElement>

onKeyPress?: KeyboardEventHandler<BlockHandleAddElement>

Use onKeyUp or onKeyDown instead

onKeyPressCapture?: KeyboardEventHandler<BlockHandleAddElement>

Use onKeyUpCapture or onKeyDownCapture instead

onKeyUp?: KeyboardEventHandler<BlockHandleAddElement>

onKeyUpCapture?: KeyboardEventHandler<BlockHandleAddElement>

onAbort?: ReactEventHandler<BlockHandleAddElement>

onAbortCapture?: ReactEventHandler<BlockHandleAddElement>

onCanPlay?: ReactEventHandler<BlockHandleAddElement>

onCanPlayCapture?: ReactEventHandler<BlockHandleAddElement>

onCanPlayThrough?: ReactEventHandler<BlockHandleAddElement>

onCanPlayThroughCapture?: ReactEventHandler<BlockHandleAddElement>

onDurationChange?: ReactEventHandler<BlockHandleAddElement>

onDurationChangeCapture?: ReactEventHandler<BlockHandleAddElement>

onEmptied?: ReactEventHandler<BlockHandleAddElement>

onEmptiedCapture?: ReactEventHandler<BlockHandleAddElement>

onEncrypted?: ReactEventHandler<BlockHandleAddElement>

onEncryptedCapture?: ReactEventHandler<BlockHandleAddElement>

onEnded?: ReactEventHandler<BlockHandleAddElement>

onEndedCapture?: ReactEventHandler<BlockHandleAddElement>

onLoadedData?: ReactEventHandler<BlockHandleAddElement>

onLoadedDataCapture?: ReactEventHandler<BlockHandleAddElement>

onLoadedMetadata?: ReactEventHandler<BlockHandleAddElement>

onLoadedMetadataCapture?: ReactEventHandler<BlockHandleAddElement>

onLoadStart?: ReactEventHandler<BlockHandleAddElement>

onLoadStartCapture?: ReactEventHandler<BlockHandleAddElement>

onPause?: ReactEventHandler<BlockHandleAddElement>

onPauseCapture?: ReactEventHandler<BlockHandleAddElement>

onPlay?: ReactEventHandler<BlockHandleAddElement>

onPlayCapture?: ReactEventHandler<BlockHandleAddElement>

onPlaying?: ReactEventHandler<BlockHandleAddElement>

onPlayingCapture?: ReactEventHandler<BlockHandleAddElement>

onProgress?: ReactEventHandler<BlockHandleAddElement>

onProgressCapture?: ReactEventHandler<BlockHandleAddElement>

onRateChange?: ReactEventHandler<BlockHandleAddElement>

onRateChangeCapture?: ReactEventHandler<BlockHandleAddElement>

onSeeked?: ReactEventHandler<BlockHandleAddElement>

onSeekedCapture?: ReactEventHandler<BlockHandleAddElement>

onSeeking?: ReactEventHandler<BlockHandleAddElement>

onSeekingCapture?: ReactEventHandler<BlockHandleAddElement>

onStalled?: ReactEventHandler<BlockHandleAddElement>

onStalledCapture?: ReactEventHandler<BlockHandleAddElement>

onSuspend?: ReactEventHandler<BlockHandleAddElement>

onSuspendCapture?: ReactEventHandler<BlockHandleAddElement>

onTimeUpdate?: ReactEventHandler<BlockHandleAddElement>

onTimeUpdateCapture?: ReactEventHandler<BlockHandleAddElement>

onVolumeChange?: ReactEventHandler<BlockHandleAddElement>

onVolumeChangeCapture?: ReactEventHandler<BlockHandleAddElement>

onWaiting?: ReactEventHandler<BlockHandleAddElement>

onWaitingCapture?: ReactEventHandler<BlockHandleAddElement>

onAuxClick?: MouseEventHandler<BlockHandleAddElement>

onAuxClickCapture?: MouseEventHandler<BlockHandleAddElement>

onClick?: MouseEventHandler<BlockHandleAddElement>

onClickCapture?: MouseEventHandler<BlockHandleAddElement>

onContextMenu?: MouseEventHandler<BlockHandleAddElement>

onContextMenuCapture?: MouseEventHandler<BlockHandleAddElement>

onDoubleClick?: MouseEventHandler<BlockHandleAddElement>

onDoubleClickCapture?: MouseEventHandler<BlockHandleAddElement>

onDrag?: DragEventHandler<BlockHandleAddElement>

onDragCapture?: DragEventHandler<BlockHandleAddElement>

onDragEnd?: DragEventHandler<BlockHandleAddElement>

onDragEndCapture?: DragEventHandler<BlockHandleAddElement>

onDragEnter?: DragEventHandler<BlockHandleAddElement>

onDragEnterCapture?: DragEventHandler<BlockHandleAddElement>

onDragExit?: DragEventHandler<BlockHandleAddElement>

onDragExitCapture?: DragEventHandler<BlockHandleAddElement>

onDragLeave?: DragEventHandler<BlockHandleAddElement>

onDragLeaveCapture?: DragEventHandler<BlockHandleAddElement>

onDragOver?: DragEventHandler<BlockHandleAddElement>

onDragOverCapture?: DragEventHandler<BlockHandleAddElement>

onDragStart?: DragEventHandler<BlockHandleAddElement>

onDragStartCapture?: DragEventHandler<BlockHandleAddElement>

onDrop?: DragEventHandler<BlockHandleAddElement>

onDropCapture?: DragEventHandler<BlockHandleAddElement>

onMouseDown?: MouseEventHandler<BlockHandleAddElement>

onMouseDownCapture?: MouseEventHandler<BlockHandleAddElement>

onMouseEnter?: MouseEventHandler<BlockHandleAddElement>

onMouseLeave?: MouseEventHandler<BlockHandleAddElement>

onMouseMove?: MouseEventHandler<BlockHandleAddElement>

onMouseMoveCapture?: MouseEventHandler<BlockHandleAddElement>

onMouseOut?: MouseEventHandler<BlockHandleAddElement>

onMouseOutCapture?: MouseEventHandler<BlockHandleAddElement>

onMouseOver?: MouseEventHandler<BlockHandleAddElement>

onMouseOverCapture?: MouseEventHandler<BlockHandleAddElement>

onMouseUp?: MouseEventHandler<BlockHandleAddElement>

onMouseUpCapture?: MouseEventHandler<BlockHandleAddElement>

onSelect?: ReactEventHandler<BlockHandleAddElement>

onSelectCapture?: ReactEventHandler<BlockHandleAddElement>

onTouchCancel?: TouchEventHandler<BlockHandleAddElement>

onTouchCancelCapture?: TouchEventHandler<BlockHandleAddElement>

onTouchEnd?: TouchEventHandler<BlockHandleAddElement>

onTouchEndCapture?: TouchEventHandler<BlockHandleAddElement>

onTouchMove?: TouchEventHandler<BlockHandleAddElement>

onTouchMoveCapture?: TouchEventHandler<BlockHandleAddElement>

onTouchStart?: TouchEventHandler<BlockHandleAddElement>

onTouchStartCapture?: TouchEventHandler<BlockHandleAddElement>

onPointerDown?: PointerEventHandler<BlockHandleAddElement>

onPointerDownCapture?: PointerEventHandler<BlockHandleAddElement>

onPointerMove?: PointerEventHandler<BlockHandleAddElement>

onPointerMoveCapture?: PointerEventHandler<BlockHandleAddElement>

onPointerUp?: PointerEventHandler<BlockHandleAddElement>

onPointerUpCapture?: PointerEventHandler<BlockHandleAddElement>

onPointerCancel?: PointerEventHandler<BlockHandleAddElement>

onPointerCancelCapture?: PointerEventHandler<BlockHandleAddElement>

onPointerEnter?: PointerEventHandler<BlockHandleAddElement>

onPointerLeave?: PointerEventHandler<BlockHandleAddElement>

onPointerOver?: PointerEventHandler<BlockHandleAddElement>

onPointerOverCapture?: PointerEventHandler<BlockHandleAddElement>

onPointerOut?: PointerEventHandler<BlockHandleAddElement>

onPointerOutCapture?: PointerEventHandler<BlockHandleAddElement>

onGotPointerCapture?: PointerEventHandler<BlockHandleAddElement>

onGotPointerCaptureCapture?: PointerEventHandler<BlockHandleAddElement>

onLostPointerCapture?: PointerEventHandler<BlockHandleAddElement>

onLostPointerCaptureCapture?: PointerEventHandler<BlockHandleAddElement>

onScroll?: UIEventHandler<BlockHandleAddElement>

onScrollCapture?: UIEventHandler<BlockHandleAddElement>

onScrollEnd?: UIEventHandler<BlockHandleAddElement>

onScrollEndCapture?: UIEventHandler<BlockHandleAddElement>

onWheel?: WheelEventHandler<BlockHandleAddElement>

onWheelCapture?: WheelEventHandler<BlockHandleAddElement>

onAnimationStart?: AnimationEventHandler<BlockHandleAddElement>

onAnimationStartCapture?: AnimationEventHandler<BlockHandleAddElement>

onAnimationEnd?: AnimationEventHandler<BlockHandleAddElement>

onAnimationEndCapture?: AnimationEventHandler<BlockHandleAddElement>

onAnimationIteration?: AnimationEventHandler<BlockHandleAddElement>

onAnimationIterationCapture?: AnimationEventHandler<BlockHandleAddElement>

onToggle?: ToggleEventHandler<BlockHandleAddElement>

onBeforeToggle?: ToggleEventHandler<BlockHandleAddElement>

onTransitionCancel?: TransitionEventHandler<BlockHandleAddElement>

onTransitionCancelCapture?: TransitionEventHandler<BlockHandleAddElement>

onTransitionEnd?: TransitionEventHandler<BlockHandleAddElement>

onTransitionEndCapture?: TransitionEventHandler<BlockHandleAddElement>

onTransitionRun?: TransitionEventHandler<BlockHandleAddElement>

onTransitionRunCapture?: TransitionEventHandler<BlockHandleAddElement>

onTransitionStart?: TransitionEventHandler<BlockHandleAddElement>

onTransitionStartCapture?: TransitionEventHandler<BlockHandleAddElement>

aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?: "inline" | "none" | "list" | "both"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-braillelabel?: string

Defines a string value that labels the current element, which is intended to be converted into Braille.

aria-label.

aria-brailleroledescription?: string

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

aria-roledescription.

aria-busy?: Booleanish

aria-checked?: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

  • aria-pressed
  • aria-selected.

aria-colcount?: number

Defines the total number of columns in a table, grid, or treegrid.

aria-colindex.

aria-colindex?: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

  • aria-colcount
  • aria-colspan.

aria-colindextext?: string

Defines a human readable text alternative of aria-colindex.

aria-rowindextext.

aria-colspan?: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-colindex
  • aria-rowspan.

aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

aria-owns.

aria-current?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

aria-labelledby

aria-description?: string

Defines a string value that describes or annotates the current element.

related aria-describedby.

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

  • aria-hidden
  • aria-readonly.

aria-dropeffect?: "copy" | "link" | "move" | "none" | "execute" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

  • aria-invalid
  • aria-describedby.

aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

in ARIA 1.1

aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

aria-disabled.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

aria-describedby.

aria-level?: number

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "vertical" | "horizontal"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: number

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-setsize.

aria-pressed?: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.

  • aria-checked
  • aria-selected.

aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

aria-disabled.

aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: number

Defines the total number of rows in a table, grid, or treegrid.

aria-rowindex.

aria-rowindex?: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

  • aria-rowcount
  • aria-rowspan.

aria-rowindextext?: string

Defines a human readable text alternative of aria-rowindex.

aria-colindextext.

aria-rowspan?: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-rowindex
  • aria-colspan.

aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

  • aria-checked
  • aria-pressed.

aria-setsize?: number

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-posinset.

aria-sort?: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: number

Defines the maximum allowed value for a range widget.

aria-valuemin?: number

Defines the minimum allowed value for a range widget.

aria-valuenow?: number

Defines the current value for a range widget.

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

defaultChecked?: boolean

defaultValue?: string | number | readonly string[]

suppressContentEditableWarning?: boolean

suppressHydrationWarning?: boolean

accessKey?: string

autoCapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters" | string & object

autoFocus?: boolean

className?: string

contentEditable?: "plaintext-only" | "inherit" | Booleanish

contextMenu?: string

dir?: string

draggable?: Booleanish

enterKeyHint?: "done" | "search" | "go" | "enter" | "next" | "previous" | "send"

hidden?: boolean

id?: string

lang?: string

nonce?: string

slot?: string

spellCheck?: Booleanish

style?: CSSProperties

tabIndex?: number

title?: string

translate?: "yes" | "no"

radioGroup?: string

role?: AriaRole

about?: string

content?: string

datatype?: string

inlist?: any

prefix?: string

property?: string

rel?: string

resource?: string

rev?: string

typeof?: string

vocab?: string

autoCorrect?: string

autoSave?: string

color?: string

itemProp?: string

itemScope?: boolean

itemType?: string

itemID?: string

itemRef?: string

results?: number

security?: string

unselectable?: "off" | "on"

popover?: "" | "auto" | "hint" | "manual"

popoverTargetAction?: "toggle" | "hide" | "show"

popoverTarget?: string

inert?: boolean

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert

inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents

https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute

is?: string

Specify that a standard HTML element should behave like a defined custom built-in element

https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is

exportparts?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts

part?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part


Props for the BlockHandleDraggable React component.

children?: ReactNode

dangerouslySetInnerHTML?: object

onCopy?: ClipboardEventHandler<BlockHandleDraggableElement>

onCopyCapture?: ClipboardEventHandler<BlockHandleDraggableElement>

onCut?: ClipboardEventHandler<BlockHandleDraggableElement>

onCutCapture?: ClipboardEventHandler<BlockHandleDraggableElement>

onPaste?: ClipboardEventHandler<BlockHandleDraggableElement>

onPasteCapture?: ClipboardEventHandler<BlockHandleDraggableElement>

onCompositionEnd?: CompositionEventHandler<BlockHandleDraggableElement>

onCompositionEndCapture?: CompositionEventHandler<BlockHandleDraggableElement>

onCompositionStart?: CompositionEventHandler<BlockHandleDraggableElement>

onCompositionStartCapture?: CompositionEventHandler<BlockHandleDraggableElement>

onCompositionUpdate?: CompositionEventHandler<BlockHandleDraggableElement>

onCompositionUpdateCapture?: CompositionEventHandler<BlockHandleDraggableElement>

onFocus?: FocusEventHandler<BlockHandleDraggableElement>

onFocusCapture?: FocusEventHandler<BlockHandleDraggableElement>

onBlur?: FocusEventHandler<BlockHandleDraggableElement>

onBlurCapture?: FocusEventHandler<BlockHandleDraggableElement>

onChange?: ChangeEventHandler<BlockHandleDraggableElement, Element>

onChangeCapture?: ChangeEventHandler<BlockHandleDraggableElement, Element>

onBeforeInput?: InputEventHandler<BlockHandleDraggableElement>

onBeforeInputCapture?: InputEventHandler<BlockHandleDraggableElement>

onInput?: InputEventHandler<BlockHandleDraggableElement>

onInputCapture?: InputEventHandler<BlockHandleDraggableElement>

onReset?: ReactEventHandler<BlockHandleDraggableElement>

onResetCapture?: ReactEventHandler<BlockHandleDraggableElement>

onSubmit?: SubmitEventHandler<BlockHandleDraggableElement>

onSubmitCapture?: SubmitEventHandler<BlockHandleDraggableElement>

onInvalid?: ReactEventHandler<BlockHandleDraggableElement>

onInvalidCapture?: ReactEventHandler<BlockHandleDraggableElement>

onLoad?: ReactEventHandler<BlockHandleDraggableElement>

onLoadCapture?: ReactEventHandler<BlockHandleDraggableElement>

onError?: ReactEventHandler<BlockHandleDraggableElement>

onErrorCapture?: ReactEventHandler<BlockHandleDraggableElement>

onKeyDown?: KeyboardEventHandler<BlockHandleDraggableElement>

onKeyDownCapture?: KeyboardEventHandler<BlockHandleDraggableElement>

onKeyPress?: KeyboardEventHandler<BlockHandleDraggableElement>

Use onKeyUp or onKeyDown instead

onKeyPressCapture?: KeyboardEventHandler<BlockHandleDraggableElement>

Use onKeyUpCapture or onKeyDownCapture instead

onKeyUp?: KeyboardEventHandler<BlockHandleDraggableElement>

onKeyUpCapture?: KeyboardEventHandler<BlockHandleDraggableElement>

onAbort?: ReactEventHandler<BlockHandleDraggableElement>

onAbortCapture?: ReactEventHandler<BlockHandleDraggableElement>

onCanPlay?: ReactEventHandler<BlockHandleDraggableElement>

onCanPlayCapture?: ReactEventHandler<BlockHandleDraggableElement>

onCanPlayThrough?: ReactEventHandler<BlockHandleDraggableElement>

onCanPlayThroughCapture?: ReactEventHandler<BlockHandleDraggableElement>

onDurationChange?: ReactEventHandler<BlockHandleDraggableElement>

onDurationChangeCapture?: ReactEventHandler<BlockHandleDraggableElement>

onEmptied?: ReactEventHandler<BlockHandleDraggableElement>

onEmptiedCapture?: ReactEventHandler<BlockHandleDraggableElement>

onEncrypted?: ReactEventHandler<BlockHandleDraggableElement>

onEncryptedCapture?: ReactEventHandler<BlockHandleDraggableElement>

onEnded?: ReactEventHandler<BlockHandleDraggableElement>

onEndedCapture?: ReactEventHandler<BlockHandleDraggableElement>

onLoadedData?: ReactEventHandler<BlockHandleDraggableElement>

onLoadedDataCapture?: ReactEventHandler<BlockHandleDraggableElement>

onLoadedMetadata?: ReactEventHandler<BlockHandleDraggableElement>

onLoadedMetadataCapture?: ReactEventHandler<BlockHandleDraggableElement>

onLoadStart?: ReactEventHandler<BlockHandleDraggableElement>

onLoadStartCapture?: ReactEventHandler<BlockHandleDraggableElement>

onPause?: ReactEventHandler<BlockHandleDraggableElement>

onPauseCapture?: ReactEventHandler<BlockHandleDraggableElement>

onPlay?: ReactEventHandler<BlockHandleDraggableElement>

onPlayCapture?: ReactEventHandler<BlockHandleDraggableElement>

onPlaying?: ReactEventHandler<BlockHandleDraggableElement>

onPlayingCapture?: ReactEventHandler<BlockHandleDraggableElement>

onProgress?: ReactEventHandler<BlockHandleDraggableElement>

onProgressCapture?: ReactEventHandler<BlockHandleDraggableElement>

onRateChange?: ReactEventHandler<BlockHandleDraggableElement>

onRateChangeCapture?: ReactEventHandler<BlockHandleDraggableElement>

onSeeked?: ReactEventHandler<BlockHandleDraggableElement>

onSeekedCapture?: ReactEventHandler<BlockHandleDraggableElement>

onSeeking?: ReactEventHandler<BlockHandleDraggableElement>

onSeekingCapture?: ReactEventHandler<BlockHandleDraggableElement>

onStalled?: ReactEventHandler<BlockHandleDraggableElement>

onStalledCapture?: ReactEventHandler<BlockHandleDraggableElement>

onSuspend?: ReactEventHandler<BlockHandleDraggableElement>

onSuspendCapture?: ReactEventHandler<BlockHandleDraggableElement>

onTimeUpdate?: ReactEventHandler<BlockHandleDraggableElement>

onTimeUpdateCapture?: ReactEventHandler<BlockHandleDraggableElement>

onVolumeChange?: ReactEventHandler<BlockHandleDraggableElement>

onVolumeChangeCapture?: ReactEventHandler<BlockHandleDraggableElement>

onWaiting?: ReactEventHandler<BlockHandleDraggableElement>

onWaitingCapture?: ReactEventHandler<BlockHandleDraggableElement>

onAuxClick?: MouseEventHandler<BlockHandleDraggableElement>

onAuxClickCapture?: MouseEventHandler<BlockHandleDraggableElement>

onClick?: MouseEventHandler<BlockHandleDraggableElement>

onClickCapture?: MouseEventHandler<BlockHandleDraggableElement>

onContextMenu?: MouseEventHandler<BlockHandleDraggableElement>

onContextMenuCapture?: MouseEventHandler<BlockHandleDraggableElement>

onDoubleClick?: MouseEventHandler<BlockHandleDraggableElement>

onDoubleClickCapture?: MouseEventHandler<BlockHandleDraggableElement>

onDrag?: DragEventHandler<BlockHandleDraggableElement>

onDragCapture?: DragEventHandler<BlockHandleDraggableElement>

onDragEnd?: DragEventHandler<BlockHandleDraggableElement>

onDragEndCapture?: DragEventHandler<BlockHandleDraggableElement>

onDragEnter?: DragEventHandler<BlockHandleDraggableElement>

onDragEnterCapture?: DragEventHandler<BlockHandleDraggableElement>

onDragExit?: DragEventHandler<BlockHandleDraggableElement>

onDragExitCapture?: DragEventHandler<BlockHandleDraggableElement>

onDragLeave?: DragEventHandler<BlockHandleDraggableElement>

onDragLeaveCapture?: DragEventHandler<BlockHandleDraggableElement>

onDragOver?: DragEventHandler<BlockHandleDraggableElement>

onDragOverCapture?: DragEventHandler<BlockHandleDraggableElement>

onDragStart?: DragEventHandler<BlockHandleDraggableElement>

onDragStartCapture?: DragEventHandler<BlockHandleDraggableElement>

onDrop?: DragEventHandler<BlockHandleDraggableElement>

onDropCapture?: DragEventHandler<BlockHandleDraggableElement>

onMouseDown?: MouseEventHandler<BlockHandleDraggableElement>

onMouseDownCapture?: MouseEventHandler<BlockHandleDraggableElement>

onMouseEnter?: MouseEventHandler<BlockHandleDraggableElement>

onMouseLeave?: MouseEventHandler<BlockHandleDraggableElement>

onMouseMove?: MouseEventHandler<BlockHandleDraggableElement>

onMouseMoveCapture?: MouseEventHandler<BlockHandleDraggableElement>

onMouseOut?: MouseEventHandler<BlockHandleDraggableElement>

onMouseOutCapture?: MouseEventHandler<BlockHandleDraggableElement>

onMouseOver?: MouseEventHandler<BlockHandleDraggableElement>

onMouseOverCapture?: MouseEventHandler<BlockHandleDraggableElement>

onMouseUp?: MouseEventHandler<BlockHandleDraggableElement>

onMouseUpCapture?: MouseEventHandler<BlockHandleDraggableElement>

onSelect?: ReactEventHandler<BlockHandleDraggableElement>

onSelectCapture?: ReactEventHandler<BlockHandleDraggableElement>

onTouchCancel?: TouchEventHandler<BlockHandleDraggableElement>

onTouchCancelCapture?: TouchEventHandler<BlockHandleDraggableElement>

onTouchEnd?: TouchEventHandler<BlockHandleDraggableElement>

onTouchEndCapture?: TouchEventHandler<BlockHandleDraggableElement>

onTouchMove?: TouchEventHandler<BlockHandleDraggableElement>

onTouchMoveCapture?: TouchEventHandler<BlockHandleDraggableElement>

onTouchStart?: TouchEventHandler<BlockHandleDraggableElement>

onTouchStartCapture?: TouchEventHandler<BlockHandleDraggableElement>

onPointerDown?: PointerEventHandler<BlockHandleDraggableElement>

onPointerDownCapture?: PointerEventHandler<BlockHandleDraggableElement>

onPointerMove?: PointerEventHandler<BlockHandleDraggableElement>

onPointerMoveCapture?: PointerEventHandler<BlockHandleDraggableElement>

onPointerUp?: PointerEventHandler<BlockHandleDraggableElement>

onPointerUpCapture?: PointerEventHandler<BlockHandleDraggableElement>

onPointerCancel?: PointerEventHandler<BlockHandleDraggableElement>

onPointerCancelCapture?: PointerEventHandler<BlockHandleDraggableElement>

onPointerEnter?: PointerEventHandler<BlockHandleDraggableElement>

onPointerLeave?: PointerEventHandler<BlockHandleDraggableElement>

onPointerOver?: PointerEventHandler<BlockHandleDraggableElement>

onPointerOverCapture?: PointerEventHandler<BlockHandleDraggableElement>

onPointerOut?: PointerEventHandler<BlockHandleDraggableElement>

onPointerOutCapture?: PointerEventHandler<BlockHandleDraggableElement>

onGotPointerCapture?: PointerEventHandler<BlockHandleDraggableElement>

onGotPointerCaptureCapture?: PointerEventHandler<BlockHandleDraggableElement>

onLostPointerCapture?: PointerEventHandler<BlockHandleDraggableElement>

onLostPointerCaptureCapture?: PointerEventHandler<BlockHandleDraggableElement>

onScroll?: UIEventHandler<BlockHandleDraggableElement>

onScrollCapture?: UIEventHandler<BlockHandleDraggableElement>

onScrollEnd?: UIEventHandler<BlockHandleDraggableElement>

onScrollEndCapture?: UIEventHandler<BlockHandleDraggableElement>

onWheel?: WheelEventHandler<BlockHandleDraggableElement>

onWheelCapture?: WheelEventHandler<BlockHandleDraggableElement>

onAnimationStart?: AnimationEventHandler<BlockHandleDraggableElement>

onAnimationStartCapture?: AnimationEventHandler<BlockHandleDraggableElement>

onAnimationEnd?: AnimationEventHandler<BlockHandleDraggableElement>

onAnimationEndCapture?: AnimationEventHandler<BlockHandleDraggableElement>

onAnimationIteration?: AnimationEventHandler<BlockHandleDraggableElement>

onAnimationIterationCapture?: AnimationEventHandler<BlockHandleDraggableElement>

onToggle?: ToggleEventHandler<BlockHandleDraggableElement>

onBeforeToggle?: ToggleEventHandler<BlockHandleDraggableElement>

onTransitionCancel?: TransitionEventHandler<BlockHandleDraggableElement>

onTransitionCancelCapture?: TransitionEventHandler<BlockHandleDraggableElement>

onTransitionEnd?: TransitionEventHandler<BlockHandleDraggableElement>

onTransitionEndCapture?: TransitionEventHandler<BlockHandleDraggableElement>

onTransitionRun?: TransitionEventHandler<BlockHandleDraggableElement>

onTransitionRunCapture?: TransitionEventHandler<BlockHandleDraggableElement>

onTransitionStart?: TransitionEventHandler<BlockHandleDraggableElement>

onTransitionStartCapture?: TransitionEventHandler<BlockHandleDraggableElement>

aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?: "inline" | "none" | "list" | "both"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-braillelabel?: string

Defines a string value that labels the current element, which is intended to be converted into Braille.

aria-label.

aria-brailleroledescription?: string

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

aria-roledescription.

aria-busy?: Booleanish

aria-checked?: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

  • aria-pressed
  • aria-selected.

aria-colcount?: number

Defines the total number of columns in a table, grid, or treegrid.

aria-colindex.

aria-colindex?: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

  • aria-colcount
  • aria-colspan.

aria-colindextext?: string

Defines a human readable text alternative of aria-colindex.

aria-rowindextext.

aria-colspan?: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-colindex
  • aria-rowspan.

aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

aria-owns.

aria-current?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

aria-labelledby

aria-description?: string

Defines a string value that describes or annotates the current element.

related aria-describedby.

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

  • aria-hidden
  • aria-readonly.

aria-dropeffect?: "copy" | "link" | "move" | "none" | "execute" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

  • aria-invalid
  • aria-describedby.

aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

in ARIA 1.1

aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

aria-disabled.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

aria-describedby.

aria-level?: number

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "vertical" | "horizontal"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: number

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-setsize.

aria-pressed?: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.

  • aria-checked
  • aria-selected.

aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

aria-disabled.

aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: number

Defines the total number of rows in a table, grid, or treegrid.

aria-rowindex.

aria-rowindex?: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

  • aria-rowcount
  • aria-rowspan.

aria-rowindextext?: string

Defines a human readable text alternative of aria-rowindex.

aria-colindextext.

aria-rowspan?: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-rowindex
  • aria-colspan.

aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

  • aria-checked
  • aria-pressed.

aria-setsize?: number

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-posinset.

aria-sort?: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: number

Defines the maximum allowed value for a range widget.

aria-valuemin?: number

Defines the minimum allowed value for a range widget.

aria-valuenow?: number

Defines the current value for a range widget.

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

defaultChecked?: boolean

defaultValue?: string | number | readonly string[]

suppressContentEditableWarning?: boolean

suppressHydrationWarning?: boolean

accessKey?: string

autoCapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters" | string & object

autoFocus?: boolean

className?: string

contentEditable?: "plaintext-only" | "inherit" | Booleanish

contextMenu?: string

dir?: string

draggable?: Booleanish

enterKeyHint?: "done" | "search" | "go" | "enter" | "next" | "previous" | "send"

hidden?: boolean

id?: string

lang?: string

nonce?: string

slot?: string

spellCheck?: Booleanish

style?: CSSProperties

tabIndex?: number

title?: string

translate?: "yes" | "no"

radioGroup?: string

role?: AriaRole

about?: string

content?: string

datatype?: string

inlist?: any

prefix?: string

property?: string

rel?: string

resource?: string

rev?: string

typeof?: string

vocab?: string

autoCorrect?: string

autoSave?: string

color?: string

itemProp?: string

itemScope?: boolean

itemType?: string

itemID?: string

itemRef?: string

results?: number

security?: string

unselectable?: "off" | "on"

popover?: "" | "auto" | "hint" | "manual"

popoverTargetAction?: "toggle" | "hide" | "show"

popoverTarget?: string

inert?: boolean

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert

inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents

https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute

is?: string

Specify that a standard HTML element should behave like a defined custom built-in element

https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is

exportparts?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts

part?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part


Props for the BlockHandlePopup React component.

children?: ReactNode

dangerouslySetInnerHTML?: object

onCopy?: ClipboardEventHandler<BlockHandlePopupElement>

onCopyCapture?: ClipboardEventHandler<BlockHandlePopupElement>

onCut?: ClipboardEventHandler<BlockHandlePopupElement>

onCutCapture?: ClipboardEventHandler<BlockHandlePopupElement>

onPaste?: ClipboardEventHandler<BlockHandlePopupElement>

onPasteCapture?: ClipboardEventHandler<BlockHandlePopupElement>

onCompositionEnd?: CompositionEventHandler<BlockHandlePopupElement>

onCompositionEndCapture?: CompositionEventHandler<BlockHandlePopupElement>

onCompositionStart?: CompositionEventHandler<BlockHandlePopupElement>

onCompositionStartCapture?: CompositionEventHandler<BlockHandlePopupElement>

onCompositionUpdate?: CompositionEventHandler<BlockHandlePopupElement>

onCompositionUpdateCapture?: CompositionEventHandler<BlockHandlePopupElement>

onFocus?: FocusEventHandler<BlockHandlePopupElement>

onFocusCapture?: FocusEventHandler<BlockHandlePopupElement>

onBlur?: FocusEventHandler<BlockHandlePopupElement>

onBlurCapture?: FocusEventHandler<BlockHandlePopupElement>

onChange?: ChangeEventHandler<BlockHandlePopupElement, Element>

onChangeCapture?: ChangeEventHandler<BlockHandlePopupElement, Element>

onBeforeInput?: InputEventHandler<BlockHandlePopupElement>

onBeforeInputCapture?: InputEventHandler<BlockHandlePopupElement>

onInput?: InputEventHandler<BlockHandlePopupElement>

onInputCapture?: InputEventHandler<BlockHandlePopupElement>

onReset?: ReactEventHandler<BlockHandlePopupElement>

onResetCapture?: ReactEventHandler<BlockHandlePopupElement>

onSubmit?: SubmitEventHandler<BlockHandlePopupElement>

onSubmitCapture?: SubmitEventHandler<BlockHandlePopupElement>

onInvalid?: ReactEventHandler<BlockHandlePopupElement>

onInvalidCapture?: ReactEventHandler<BlockHandlePopupElement>

onLoad?: ReactEventHandler<BlockHandlePopupElement>

onLoadCapture?: ReactEventHandler<BlockHandlePopupElement>

onError?: ReactEventHandler<BlockHandlePopupElement>

onErrorCapture?: ReactEventHandler<BlockHandlePopupElement>

onKeyDown?: KeyboardEventHandler<BlockHandlePopupElement>

onKeyDownCapture?: KeyboardEventHandler<BlockHandlePopupElement>

onKeyPress?: KeyboardEventHandler<BlockHandlePopupElement>

Use onKeyUp or onKeyDown instead

onKeyPressCapture?: KeyboardEventHandler<BlockHandlePopupElement>

Use onKeyUpCapture or onKeyDownCapture instead

onKeyUp?: KeyboardEventHandler<BlockHandlePopupElement>

onKeyUpCapture?: KeyboardEventHandler<BlockHandlePopupElement>

onAbort?: ReactEventHandler<BlockHandlePopupElement>

onAbortCapture?: ReactEventHandler<BlockHandlePopupElement>

onCanPlay?: ReactEventHandler<BlockHandlePopupElement>

onCanPlayCapture?: ReactEventHandler<BlockHandlePopupElement>

onCanPlayThrough?: ReactEventHandler<BlockHandlePopupElement>

onCanPlayThroughCapture?: ReactEventHandler<BlockHandlePopupElement>

onDurationChange?: ReactEventHandler<BlockHandlePopupElement>

onDurationChangeCapture?: ReactEventHandler<BlockHandlePopupElement>

onEmptied?: ReactEventHandler<BlockHandlePopupElement>

onEmptiedCapture?: ReactEventHandler<BlockHandlePopupElement>

onEncrypted?: ReactEventHandler<BlockHandlePopupElement>

onEncryptedCapture?: ReactEventHandler<BlockHandlePopupElement>

onEnded?: ReactEventHandler<BlockHandlePopupElement>

onEndedCapture?: ReactEventHandler<BlockHandlePopupElement>

onLoadedData?: ReactEventHandler<BlockHandlePopupElement>

onLoadedDataCapture?: ReactEventHandler<BlockHandlePopupElement>

onLoadedMetadata?: ReactEventHandler<BlockHandlePopupElement>

onLoadedMetadataCapture?: ReactEventHandler<BlockHandlePopupElement>

onLoadStart?: ReactEventHandler<BlockHandlePopupElement>

onLoadStartCapture?: ReactEventHandler<BlockHandlePopupElement>

onPause?: ReactEventHandler<BlockHandlePopupElement>

onPauseCapture?: ReactEventHandler<BlockHandlePopupElement>

onPlay?: ReactEventHandler<BlockHandlePopupElement>

onPlayCapture?: ReactEventHandler<BlockHandlePopupElement>

onPlaying?: ReactEventHandler<BlockHandlePopupElement>

onPlayingCapture?: ReactEventHandler<BlockHandlePopupElement>

onProgress?: ReactEventHandler<BlockHandlePopupElement>

onProgressCapture?: ReactEventHandler<BlockHandlePopupElement>

onRateChange?: ReactEventHandler<BlockHandlePopupElement>

onRateChangeCapture?: ReactEventHandler<BlockHandlePopupElement>

onSeeked?: ReactEventHandler<BlockHandlePopupElement>

onSeekedCapture?: ReactEventHandler<BlockHandlePopupElement>

onSeeking?: ReactEventHandler<BlockHandlePopupElement>

onSeekingCapture?: ReactEventHandler<BlockHandlePopupElement>

onStalled?: ReactEventHandler<BlockHandlePopupElement>

onStalledCapture?: ReactEventHandler<BlockHandlePopupElement>

onSuspend?: ReactEventHandler<BlockHandlePopupElement>

onSuspendCapture?: ReactEventHandler<BlockHandlePopupElement>

onTimeUpdate?: ReactEventHandler<BlockHandlePopupElement>

onTimeUpdateCapture?: ReactEventHandler<BlockHandlePopupElement>

onVolumeChange?: ReactEventHandler<BlockHandlePopupElement>

onVolumeChangeCapture?: ReactEventHandler<BlockHandlePopupElement>

onWaiting?: ReactEventHandler<BlockHandlePopupElement>

onWaitingCapture?: ReactEventHandler<BlockHandlePopupElement>

onAuxClick?: MouseEventHandler<BlockHandlePopupElement>

onAuxClickCapture?: MouseEventHandler<BlockHandlePopupElement>

onClick?: MouseEventHandler<BlockHandlePopupElement>

onClickCapture?: MouseEventHandler<BlockHandlePopupElement>

onContextMenu?: MouseEventHandler<BlockHandlePopupElement>

onContextMenuCapture?: MouseEventHandler<BlockHandlePopupElement>

onDoubleClick?: MouseEventHandler<BlockHandlePopupElement>

onDoubleClickCapture?: MouseEventHandler<BlockHandlePopupElement>

onDrag?: DragEventHandler<BlockHandlePopupElement>

onDragCapture?: DragEventHandler<BlockHandlePopupElement>

onDragEnd?: DragEventHandler<BlockHandlePopupElement>

onDragEndCapture?: DragEventHandler<BlockHandlePopupElement>

onDragEnter?: DragEventHandler<BlockHandlePopupElement>

onDragEnterCapture?: DragEventHandler<BlockHandlePopupElement>

onDragExit?: DragEventHandler<BlockHandlePopupElement>

onDragExitCapture?: DragEventHandler<BlockHandlePopupElement>

onDragLeave?: DragEventHandler<BlockHandlePopupElement>

onDragLeaveCapture?: DragEventHandler<BlockHandlePopupElement>

onDragOver?: DragEventHandler<BlockHandlePopupElement>

onDragOverCapture?: DragEventHandler<BlockHandlePopupElement>

onDragStart?: DragEventHandler<BlockHandlePopupElement>

onDragStartCapture?: DragEventHandler<BlockHandlePopupElement>

onDrop?: DragEventHandler<BlockHandlePopupElement>

onDropCapture?: DragEventHandler<BlockHandlePopupElement>

onMouseDown?: MouseEventHandler<BlockHandlePopupElement>

onMouseDownCapture?: MouseEventHandler<BlockHandlePopupElement>

onMouseEnter?: MouseEventHandler<BlockHandlePopupElement>

onMouseLeave?: MouseEventHandler<BlockHandlePopupElement>

onMouseMove?: MouseEventHandler<BlockHandlePopupElement>

onMouseMoveCapture?: MouseEventHandler<BlockHandlePopupElement>

onMouseOut?: MouseEventHandler<BlockHandlePopupElement>

onMouseOutCapture?: MouseEventHandler<BlockHandlePopupElement>

onMouseOver?: MouseEventHandler<BlockHandlePopupElement>

onMouseOverCapture?: MouseEventHandler<BlockHandlePopupElement>

onMouseUp?: MouseEventHandler<BlockHandlePopupElement>

onMouseUpCapture?: MouseEventHandler<BlockHandlePopupElement>

onSelect?: ReactEventHandler<BlockHandlePopupElement>

onSelectCapture?: ReactEventHandler<BlockHandlePopupElement>

onTouchCancel?: TouchEventHandler<BlockHandlePopupElement>

onTouchCancelCapture?: TouchEventHandler<BlockHandlePopupElement>

onTouchEnd?: TouchEventHandler<BlockHandlePopupElement>

onTouchEndCapture?: TouchEventHandler<BlockHandlePopupElement>

onTouchMove?: TouchEventHandler<BlockHandlePopupElement>

onTouchMoveCapture?: TouchEventHandler<BlockHandlePopupElement>

onTouchStart?: TouchEventHandler<BlockHandlePopupElement>

onTouchStartCapture?: TouchEventHandler<BlockHandlePopupElement>

onPointerDown?: PointerEventHandler<BlockHandlePopupElement>

onPointerDownCapture?: PointerEventHandler<BlockHandlePopupElement>

onPointerMove?: PointerEventHandler<BlockHandlePopupElement>

onPointerMoveCapture?: PointerEventHandler<BlockHandlePopupElement>

onPointerUp?: PointerEventHandler<BlockHandlePopupElement>

onPointerUpCapture?: PointerEventHandler<BlockHandlePopupElement>

onPointerCancel?: PointerEventHandler<BlockHandlePopupElement>

onPointerCancelCapture?: PointerEventHandler<BlockHandlePopupElement>

onPointerEnter?: PointerEventHandler<BlockHandlePopupElement>

onPointerLeave?: PointerEventHandler<BlockHandlePopupElement>

onPointerOver?: PointerEventHandler<BlockHandlePopupElement>

onPointerOverCapture?: PointerEventHandler<BlockHandlePopupElement>

onPointerOut?: PointerEventHandler<BlockHandlePopupElement>

onPointerOutCapture?: PointerEventHandler<BlockHandlePopupElement>

onGotPointerCapture?: PointerEventHandler<BlockHandlePopupElement>

onGotPointerCaptureCapture?: PointerEventHandler<BlockHandlePopupElement>

onLostPointerCapture?: PointerEventHandler<BlockHandlePopupElement>

onLostPointerCaptureCapture?: PointerEventHandler<BlockHandlePopupElement>

onScroll?: UIEventHandler<BlockHandlePopupElement>

onScrollCapture?: UIEventHandler<BlockHandlePopupElement>

onScrollEnd?: UIEventHandler<BlockHandlePopupElement>

onScrollEndCapture?: UIEventHandler<BlockHandlePopupElement>

onWheel?: WheelEventHandler<BlockHandlePopupElement>

onWheelCapture?: WheelEventHandler<BlockHandlePopupElement>

onAnimationStart?: AnimationEventHandler<BlockHandlePopupElement>

onAnimationStartCapture?: AnimationEventHandler<BlockHandlePopupElement>

onAnimationEnd?: AnimationEventHandler<BlockHandlePopupElement>

onAnimationEndCapture?: AnimationEventHandler<BlockHandlePopupElement>

onAnimationIteration?: AnimationEventHandler<BlockHandlePopupElement>

onAnimationIterationCapture?: AnimationEventHandler<BlockHandlePopupElement>

onToggle?: ToggleEventHandler<BlockHandlePopupElement>

onBeforeToggle?: ToggleEventHandler<BlockHandlePopupElement>

onTransitionCancel?: TransitionEventHandler<BlockHandlePopupElement>

onTransitionCancelCapture?: TransitionEventHandler<BlockHandlePopupElement>

onTransitionEnd?: TransitionEventHandler<BlockHandlePopupElement>

onTransitionEndCapture?: TransitionEventHandler<BlockHandlePopupElement>

onTransitionRun?: TransitionEventHandler<BlockHandlePopupElement>

onTransitionRunCapture?: TransitionEventHandler<BlockHandlePopupElement>

onTransitionStart?: TransitionEventHandler<BlockHandlePopupElement>

onTransitionStartCapture?: TransitionEventHandler<BlockHandlePopupElement>

aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?: "inline" | "none" | "list" | "both"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-braillelabel?: string

Defines a string value that labels the current element, which is intended to be converted into Braille.

aria-label.

aria-brailleroledescription?: string

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

aria-roledescription.

aria-busy?: Booleanish

aria-checked?: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

  • aria-pressed
  • aria-selected.

aria-colcount?: number

Defines the total number of columns in a table, grid, or treegrid.

aria-colindex.

aria-colindex?: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

  • aria-colcount
  • aria-colspan.

aria-colindextext?: string

Defines a human readable text alternative of aria-colindex.

aria-rowindextext.

aria-colspan?: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-colindex
  • aria-rowspan.

aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

aria-owns.

aria-current?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

aria-labelledby

aria-description?: string

Defines a string value that describes or annotates the current element.

related aria-describedby.

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

  • aria-hidden
  • aria-readonly.

aria-dropeffect?: "copy" | "link" | "move" | "none" | "execute" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

  • aria-invalid
  • aria-describedby.

aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

in ARIA 1.1

aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

aria-disabled.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

aria-describedby.

aria-level?: number

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "vertical" | "horizontal"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: number

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-setsize.

aria-pressed?: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.

  • aria-checked
  • aria-selected.

aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

aria-disabled.

aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: number

Defines the total number of rows in a table, grid, or treegrid.

aria-rowindex.

aria-rowindex?: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

  • aria-rowcount
  • aria-rowspan.

aria-rowindextext?: string

Defines a human readable text alternative of aria-rowindex.

aria-colindextext.

aria-rowspan?: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-rowindex
  • aria-colspan.

aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

  • aria-checked
  • aria-pressed.

aria-setsize?: number

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-posinset.

aria-sort?: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: number

Defines the maximum allowed value for a range widget.

aria-valuemin?: number

Defines the minimum allowed value for a range widget.

aria-valuenow?: number

Defines the current value for a range widget.

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

defaultChecked?: boolean

defaultValue?: string | number | readonly string[]

suppressContentEditableWarning?: boolean

suppressHydrationWarning?: boolean

accessKey?: string

autoCapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters" | string & object

autoFocus?: boolean

className?: string

contentEditable?: "plaintext-only" | "inherit" | Booleanish

contextMenu?: string

dir?: string

draggable?: Booleanish

enterKeyHint?: "done" | "search" | "go" | "enter" | "next" | "previous" | "send"

hidden?: boolean

id?: string

lang?: string

nonce?: string

slot?: string

spellCheck?: Booleanish

style?: CSSProperties

tabIndex?: number

title?: string

translate?: "yes" | "no"

radioGroup?: string

role?: AriaRole

about?: string

content?: string

datatype?: string

inlist?: any

prefix?: string

property?: string

rel?: string

resource?: string

rev?: string

typeof?: string

vocab?: string

autoCorrect?: string

autoSave?: string

color?: string

itemProp?: string

itemScope?: boolean

itemType?: string

itemID?: string

itemRef?: string

results?: number

security?: string

unselectable?: "off" | "on"

popover?: "" | "auto" | "hint" | "manual"

popoverTargetAction?: "toggle" | "hide" | "show"

popoverTarget?: string

inert?: boolean

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert

inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents

https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute

is?: string

Specify that a standard HTML element should behave like a defined custom built-in element

https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is

exportparts?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts

part?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part


Props for the BlockHandlePositioner React component.

placement?: Placement

The placement of the popover, relative to the hovered block.

"left"

hoist?: boolean

Whether to use the browser Popover API to place the floating element on top of other page content.

false

strategy?: "fixed" | "absolute"

The strategy to use for positioning

"absolute"

autoUpdate?: boolean | AutoUpdateOptions

Options to activate auto-update listeners

https://floating-ui.com/docs/autoUpdate

true

offset?: OffsetOptions

The distance between the reference and floating element.

6

overlap?: boolean

Whether the floating element can overlap the reference element to keep it in view.

false

fitViewport?: boolean

Whether to constrain the floating element's width and height to not exceed the viewport.

false

sameWidth?: boolean

Whether to constrain the floating element's width so that it matches the reference element.

false

sameHeight?: boolean

Whether to constrain the floating element's height so that it matches the reference element.

false

inline?: boolean

Whether to improve positioning for inline reference elements that span over multiple lines.

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.

'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.

'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.

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.

'floating'

altBoundary?: boolean

Whether to check the alternate elementContext's boundary. Please see https://floating-ui.com/docs/detectoverflow#altboundary for more information.

false

children?: ReactNode

dangerouslySetInnerHTML?: object

onCopy?: ClipboardEventHandler<BlockHandlePositionerElement>

onCopyCapture?: ClipboardEventHandler<BlockHandlePositionerElement>

onCut?: ClipboardEventHandler<BlockHandlePositionerElement>

onCutCapture?: ClipboardEventHandler<BlockHandlePositionerElement>

onPaste?: ClipboardEventHandler<BlockHandlePositionerElement>

onPasteCapture?: ClipboardEventHandler<BlockHandlePositionerElement>

onCompositionEnd?: CompositionEventHandler<BlockHandlePositionerElement>

onCompositionEndCapture?: CompositionEventHandler<BlockHandlePositionerElement>

onCompositionStart?: CompositionEventHandler<BlockHandlePositionerElement>

onCompositionStartCapture?: CompositionEventHandler<BlockHandlePositionerElement>

onCompositionUpdate?: CompositionEventHandler<BlockHandlePositionerElement>

onCompositionUpdateCapture?: CompositionEventHandler<BlockHandlePositionerElement>

onFocus?: FocusEventHandler<BlockHandlePositionerElement>

onFocusCapture?: FocusEventHandler<BlockHandlePositionerElement>

onBlur?: FocusEventHandler<BlockHandlePositionerElement>

onBlurCapture?: FocusEventHandler<BlockHandlePositionerElement>

onChange?: ChangeEventHandler<BlockHandlePositionerElement, Element>

onChangeCapture?: ChangeEventHandler<BlockHandlePositionerElement, Element>

onBeforeInput?: InputEventHandler<BlockHandlePositionerElement>

onBeforeInputCapture?: InputEventHandler<BlockHandlePositionerElement>

onInput?: InputEventHandler<BlockHandlePositionerElement>

onInputCapture?: InputEventHandler<BlockHandlePositionerElement>

onReset?: ReactEventHandler<BlockHandlePositionerElement>

onResetCapture?: ReactEventHandler<BlockHandlePositionerElement>

onSubmit?: SubmitEventHandler<BlockHandlePositionerElement>

onSubmitCapture?: SubmitEventHandler<BlockHandlePositionerElement>

onInvalid?: ReactEventHandler<BlockHandlePositionerElement>

onInvalidCapture?: ReactEventHandler<BlockHandlePositionerElement>

onLoad?: ReactEventHandler<BlockHandlePositionerElement>

onLoadCapture?: ReactEventHandler<BlockHandlePositionerElement>

onError?: ReactEventHandler<BlockHandlePositionerElement>

onErrorCapture?: ReactEventHandler<BlockHandlePositionerElement>

onKeyDown?: KeyboardEventHandler<BlockHandlePositionerElement>

onKeyDownCapture?: KeyboardEventHandler<BlockHandlePositionerElement>

onKeyPress?: KeyboardEventHandler<BlockHandlePositionerElement>

Use onKeyUp or onKeyDown instead

onKeyPressCapture?: KeyboardEventHandler<BlockHandlePositionerElement>

Use onKeyUpCapture or onKeyDownCapture instead

onKeyUp?: KeyboardEventHandler<BlockHandlePositionerElement>

onKeyUpCapture?: KeyboardEventHandler<BlockHandlePositionerElement>

onAbort?: ReactEventHandler<BlockHandlePositionerElement>

onAbortCapture?: ReactEventHandler<BlockHandlePositionerElement>

onCanPlay?: ReactEventHandler<BlockHandlePositionerElement>

onCanPlayCapture?: ReactEventHandler<BlockHandlePositionerElement>

onCanPlayThrough?: ReactEventHandler<BlockHandlePositionerElement>

onCanPlayThroughCapture?: ReactEventHandler<BlockHandlePositionerElement>

onDurationChange?: ReactEventHandler<BlockHandlePositionerElement>

onDurationChangeCapture?: ReactEventHandler<BlockHandlePositionerElement>

onEmptied?: ReactEventHandler<BlockHandlePositionerElement>

onEmptiedCapture?: ReactEventHandler<BlockHandlePositionerElement>

onEncrypted?: ReactEventHandler<BlockHandlePositionerElement>

onEncryptedCapture?: ReactEventHandler<BlockHandlePositionerElement>

onEnded?: ReactEventHandler<BlockHandlePositionerElement>

onEndedCapture?: ReactEventHandler<BlockHandlePositionerElement>

onLoadedData?: ReactEventHandler<BlockHandlePositionerElement>

onLoadedDataCapture?: ReactEventHandler<BlockHandlePositionerElement>

onLoadedMetadata?: ReactEventHandler<BlockHandlePositionerElement>

onLoadedMetadataCapture?: ReactEventHandler<BlockHandlePositionerElement>

onLoadStart?: ReactEventHandler<BlockHandlePositionerElement>

onLoadStartCapture?: ReactEventHandler<BlockHandlePositionerElement>

onPause?: ReactEventHandler<BlockHandlePositionerElement>

onPauseCapture?: ReactEventHandler<BlockHandlePositionerElement>

onPlay?: ReactEventHandler<BlockHandlePositionerElement>

onPlayCapture?: ReactEventHandler<BlockHandlePositionerElement>

onPlaying?: ReactEventHandler<BlockHandlePositionerElement>

onPlayingCapture?: ReactEventHandler<BlockHandlePositionerElement>

onProgress?: ReactEventHandler<BlockHandlePositionerElement>

onProgressCapture?: ReactEventHandler<BlockHandlePositionerElement>

onRateChange?: ReactEventHandler<BlockHandlePositionerElement>

onRateChangeCapture?: ReactEventHandler<BlockHandlePositionerElement>

onSeeked?: ReactEventHandler<BlockHandlePositionerElement>

onSeekedCapture?: ReactEventHandler<BlockHandlePositionerElement>

onSeeking?: ReactEventHandler<BlockHandlePositionerElement>

onSeekingCapture?: ReactEventHandler<BlockHandlePositionerElement>

onStalled?: ReactEventHandler<BlockHandlePositionerElement>

onStalledCapture?: ReactEventHandler<BlockHandlePositionerElement>

onSuspend?: ReactEventHandler<BlockHandlePositionerElement>

onSuspendCapture?: ReactEventHandler<BlockHandlePositionerElement>

onTimeUpdate?: ReactEventHandler<BlockHandlePositionerElement>

onTimeUpdateCapture?: ReactEventHandler<BlockHandlePositionerElement>

onVolumeChange?: ReactEventHandler<BlockHandlePositionerElement>

onVolumeChangeCapture?: ReactEventHandler<BlockHandlePositionerElement>

onWaiting?: ReactEventHandler<BlockHandlePositionerElement>

onWaitingCapture?: ReactEventHandler<BlockHandlePositionerElement>

onAuxClick?: MouseEventHandler<BlockHandlePositionerElement>

onAuxClickCapture?: MouseEventHandler<BlockHandlePositionerElement>

onClick?: MouseEventHandler<BlockHandlePositionerElement>

onClickCapture?: MouseEventHandler<BlockHandlePositionerElement>

onContextMenu?: MouseEventHandler<BlockHandlePositionerElement>

onContextMenuCapture?: MouseEventHandler<BlockHandlePositionerElement>

onDoubleClick?: MouseEventHandler<BlockHandlePositionerElement>

onDoubleClickCapture?: MouseEventHandler<BlockHandlePositionerElement>

onDrag?: DragEventHandler<BlockHandlePositionerElement>

onDragCapture?: DragEventHandler<BlockHandlePositionerElement>

onDragEnd?: DragEventHandler<BlockHandlePositionerElement>

onDragEndCapture?: DragEventHandler<BlockHandlePositionerElement>

onDragEnter?: DragEventHandler<BlockHandlePositionerElement>

onDragEnterCapture?: DragEventHandler<BlockHandlePositionerElement>

onDragExit?: DragEventHandler<BlockHandlePositionerElement>

onDragExitCapture?: DragEventHandler<BlockHandlePositionerElement>

onDragLeave?: DragEventHandler<BlockHandlePositionerElement>

onDragLeaveCapture?: DragEventHandler<BlockHandlePositionerElement>

onDragOver?: DragEventHandler<BlockHandlePositionerElement>

onDragOverCapture?: DragEventHandler<BlockHandlePositionerElement>

onDragStart?: DragEventHandler<BlockHandlePositionerElement>

onDragStartCapture?: DragEventHandler<BlockHandlePositionerElement>

onDrop?: DragEventHandler<BlockHandlePositionerElement>

onDropCapture?: DragEventHandler<BlockHandlePositionerElement>

onMouseDown?: MouseEventHandler<BlockHandlePositionerElement>

onMouseDownCapture?: MouseEventHandler<BlockHandlePositionerElement>

onMouseEnter?: MouseEventHandler<BlockHandlePositionerElement>

onMouseLeave?: MouseEventHandler<BlockHandlePositionerElement>

onMouseMove?: MouseEventHandler<BlockHandlePositionerElement>

onMouseMoveCapture?: MouseEventHandler<BlockHandlePositionerElement>

onMouseOut?: MouseEventHandler<BlockHandlePositionerElement>

onMouseOutCapture?: MouseEventHandler<BlockHandlePositionerElement>

onMouseOver?: MouseEventHandler<BlockHandlePositionerElement>

onMouseOverCapture?: MouseEventHandler<BlockHandlePositionerElement>

onMouseUp?: MouseEventHandler<BlockHandlePositionerElement>

onMouseUpCapture?: MouseEventHandler<BlockHandlePositionerElement>

onSelect?: ReactEventHandler<BlockHandlePositionerElement>

onSelectCapture?: ReactEventHandler<BlockHandlePositionerElement>

onTouchCancel?: TouchEventHandler<BlockHandlePositionerElement>

onTouchCancelCapture?: TouchEventHandler<BlockHandlePositionerElement>

onTouchEnd?: TouchEventHandler<BlockHandlePositionerElement>

onTouchEndCapture?: TouchEventHandler<BlockHandlePositionerElement>

onTouchMove?: TouchEventHandler<BlockHandlePositionerElement>

onTouchMoveCapture?: TouchEventHandler<BlockHandlePositionerElement>

onTouchStart?: TouchEventHandler<BlockHandlePositionerElement>

onTouchStartCapture?: TouchEventHandler<BlockHandlePositionerElement>

onPointerDown?: PointerEventHandler<BlockHandlePositionerElement>

onPointerDownCapture?: PointerEventHandler<BlockHandlePositionerElement>

onPointerMove?: PointerEventHandler<BlockHandlePositionerElement>

onPointerMoveCapture?: PointerEventHandler<BlockHandlePositionerElement>

onPointerUp?: PointerEventHandler<BlockHandlePositionerElement>

onPointerUpCapture?: PointerEventHandler<BlockHandlePositionerElement>

onPointerCancel?: PointerEventHandler<BlockHandlePositionerElement>

onPointerCancelCapture?: PointerEventHandler<BlockHandlePositionerElement>

onPointerEnter?: PointerEventHandler<BlockHandlePositionerElement>

onPointerLeave?: PointerEventHandler<BlockHandlePositionerElement>

onPointerOver?: PointerEventHandler<BlockHandlePositionerElement>

onPointerOverCapture?: PointerEventHandler<BlockHandlePositionerElement>

onPointerOut?: PointerEventHandler<BlockHandlePositionerElement>

onPointerOutCapture?: PointerEventHandler<BlockHandlePositionerElement>

onGotPointerCapture?: PointerEventHandler<BlockHandlePositionerElement>

onGotPointerCaptureCapture?: PointerEventHandler<BlockHandlePositionerElement>

onLostPointerCapture?: PointerEventHandler<BlockHandlePositionerElement>

onLostPointerCaptureCapture?: PointerEventHandler<BlockHandlePositionerElement>

onScroll?: UIEventHandler<BlockHandlePositionerElement>

onScrollCapture?: UIEventHandler<BlockHandlePositionerElement>

onScrollEnd?: UIEventHandler<BlockHandlePositionerElement>

onScrollEndCapture?: UIEventHandler<BlockHandlePositionerElement>

onWheel?: WheelEventHandler<BlockHandlePositionerElement>

onWheelCapture?: WheelEventHandler<BlockHandlePositionerElement>

onAnimationStart?: AnimationEventHandler<BlockHandlePositionerElement>

onAnimationStartCapture?: AnimationEventHandler<BlockHandlePositionerElement>

onAnimationEnd?: AnimationEventHandler<BlockHandlePositionerElement>

onAnimationEndCapture?: AnimationEventHandler<BlockHandlePositionerElement>

onAnimationIteration?: AnimationEventHandler<BlockHandlePositionerElement>

onAnimationIterationCapture?: AnimationEventHandler<BlockHandlePositionerElement>

onToggle?: ToggleEventHandler<BlockHandlePositionerElement>

onBeforeToggle?: ToggleEventHandler<BlockHandlePositionerElement>

onTransitionCancel?: TransitionEventHandler<BlockHandlePositionerElement>

onTransitionCancelCapture?: TransitionEventHandler<BlockHandlePositionerElement>

onTransitionEnd?: TransitionEventHandler<BlockHandlePositionerElement>

onTransitionEndCapture?: TransitionEventHandler<BlockHandlePositionerElement>

onTransitionRun?: TransitionEventHandler<BlockHandlePositionerElement>

onTransitionRunCapture?: TransitionEventHandler<BlockHandlePositionerElement>

onTransitionStart?: TransitionEventHandler<BlockHandlePositionerElement>

onTransitionStartCapture?: TransitionEventHandler<BlockHandlePositionerElement>

aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?: "inline" | "none" | "list" | "both"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-braillelabel?: string

Defines a string value that labels the current element, which is intended to be converted into Braille.

aria-label.

aria-brailleroledescription?: string

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

aria-roledescription.

aria-busy?: Booleanish

aria-checked?: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

  • aria-pressed
  • aria-selected.

aria-colcount?: number

Defines the total number of columns in a table, grid, or treegrid.

aria-colindex.

aria-colindex?: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

  • aria-colcount
  • aria-colspan.

aria-colindextext?: string

Defines a human readable text alternative of aria-colindex.

aria-rowindextext.

aria-colspan?: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-colindex
  • aria-rowspan.

aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

aria-owns.

aria-current?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

aria-labelledby

aria-description?: string

Defines a string value that describes or annotates the current element.

related aria-describedby.

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

  • aria-hidden
  • aria-readonly.

aria-dropeffect?: "copy" | "link" | "move" | "none" | "execute" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

  • aria-invalid
  • aria-describedby.

aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

in ARIA 1.1

aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

aria-disabled.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

aria-describedby.

aria-level?: number

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "vertical" | "horizontal"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: number

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-setsize.

aria-pressed?: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.

  • aria-checked
  • aria-selected.

aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

aria-disabled.

aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: number

Defines the total number of rows in a table, grid, or treegrid.

aria-rowindex.

aria-rowindex?: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

  • aria-rowcount
  • aria-rowspan.

aria-rowindextext?: string

Defines a human readable text alternative of aria-rowindex.

aria-colindextext.

aria-rowspan?: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-rowindex
  • aria-colspan.

aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

  • aria-checked
  • aria-pressed.

aria-setsize?: number

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-posinset.

aria-sort?: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: number

Defines the maximum allowed value for a range widget.

aria-valuemin?: number

Defines the minimum allowed value for a range widget.

aria-valuenow?: number

Defines the current value for a range widget.

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

defaultChecked?: boolean

defaultValue?: string | number | readonly string[]

suppressContentEditableWarning?: boolean

suppressHydrationWarning?: boolean

accessKey?: string

autoCapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters" | string & object

autoFocus?: boolean

className?: string

contentEditable?: "plaintext-only" | "inherit" | Booleanish

contextMenu?: string

dir?: string

draggable?: Booleanish

enterKeyHint?: "done" | "search" | "go" | "enter" | "next" | "previous" | "send"

hidden?: boolean

id?: string

lang?: string

nonce?: string

slot?: string

spellCheck?: Booleanish

style?: CSSProperties

tabIndex?: number

title?: string

translate?: "yes" | "no"

radioGroup?: string

role?: AriaRole

about?: string

content?: string

datatype?: string

inlist?: any

prefix?: string

property?: string

rel?: string

resource?: string

rev?: string

typeof?: string

vocab?: string

autoCorrect?: string

autoSave?: string

color?: string

itemProp?: string

itemScope?: boolean

itemType?: string

itemID?: string

itemRef?: string

results?: number

security?: string

unselectable?: "off" | "on"

popover?: "" | "auto" | "hint" | "manual"

popoverTargetAction?: "toggle" | "hide" | "show"

popoverTarget?: string

inert?: boolean

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert

inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents

https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute

is?: string

Specify that a standard HTML element should behave like a defined custom built-in element

https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is

exportparts?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts

part?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part


Props for the BlockHandleRoot React component.

onStateChange?: (event: BlockHandleStateChangeEvent) => void

Fired when the hovered block changes.

children?: ReactNode

dangerouslySetInnerHTML?: object

onCopy?: ClipboardEventHandler<BlockHandleRootElement>

onCopyCapture?: ClipboardEventHandler<BlockHandleRootElement>

onCut?: ClipboardEventHandler<BlockHandleRootElement>

onCutCapture?: ClipboardEventHandler<BlockHandleRootElement>

onPaste?: ClipboardEventHandler<BlockHandleRootElement>

onPasteCapture?: ClipboardEventHandler<BlockHandleRootElement>

onCompositionEnd?: CompositionEventHandler<BlockHandleRootElement>

onCompositionEndCapture?: CompositionEventHandler<BlockHandleRootElement>

onCompositionStart?: CompositionEventHandler<BlockHandleRootElement>

onCompositionStartCapture?: CompositionEventHandler<BlockHandleRootElement>

onCompositionUpdate?: CompositionEventHandler<BlockHandleRootElement>

onCompositionUpdateCapture?: CompositionEventHandler<BlockHandleRootElement>

onFocus?: FocusEventHandler<BlockHandleRootElement>

onFocusCapture?: FocusEventHandler<BlockHandleRootElement>

onBlur?: FocusEventHandler<BlockHandleRootElement>

onBlurCapture?: FocusEventHandler<BlockHandleRootElement>

onChange?: ChangeEventHandler<BlockHandleRootElement, Element>

onChangeCapture?: ChangeEventHandler<BlockHandleRootElement, Element>

onBeforeInput?: InputEventHandler<BlockHandleRootElement>

onBeforeInputCapture?: InputEventHandler<BlockHandleRootElement>

onInput?: InputEventHandler<BlockHandleRootElement>

onInputCapture?: InputEventHandler<BlockHandleRootElement>

onReset?: ReactEventHandler<BlockHandleRootElement>

onResetCapture?: ReactEventHandler<BlockHandleRootElement>

onSubmit?: SubmitEventHandler<BlockHandleRootElement>

onSubmitCapture?: SubmitEventHandler<BlockHandleRootElement>

onInvalid?: ReactEventHandler<BlockHandleRootElement>

onInvalidCapture?: ReactEventHandler<BlockHandleRootElement>

onLoad?: ReactEventHandler<BlockHandleRootElement>

onLoadCapture?: ReactEventHandler<BlockHandleRootElement>

onError?: ReactEventHandler<BlockHandleRootElement>

onErrorCapture?: ReactEventHandler<BlockHandleRootElement>

onKeyDown?: KeyboardEventHandler<BlockHandleRootElement>

onKeyDownCapture?: KeyboardEventHandler<BlockHandleRootElement>

onKeyPress?: KeyboardEventHandler<BlockHandleRootElement>

Use onKeyUp or onKeyDown instead

onKeyPressCapture?: KeyboardEventHandler<BlockHandleRootElement>

Use onKeyUpCapture or onKeyDownCapture instead

onKeyUp?: KeyboardEventHandler<BlockHandleRootElement>

onKeyUpCapture?: KeyboardEventHandler<BlockHandleRootElement>

onAbort?: ReactEventHandler<BlockHandleRootElement>

onAbortCapture?: ReactEventHandler<BlockHandleRootElement>

onCanPlay?: ReactEventHandler<BlockHandleRootElement>

onCanPlayCapture?: ReactEventHandler<BlockHandleRootElement>

onCanPlayThrough?: ReactEventHandler<BlockHandleRootElement>

onCanPlayThroughCapture?: ReactEventHandler<BlockHandleRootElement>

onDurationChange?: ReactEventHandler<BlockHandleRootElement>

onDurationChangeCapture?: ReactEventHandler<BlockHandleRootElement>

onEmptied?: ReactEventHandler<BlockHandleRootElement>

onEmptiedCapture?: ReactEventHandler<BlockHandleRootElement>

onEncrypted?: ReactEventHandler<BlockHandleRootElement>

onEncryptedCapture?: ReactEventHandler<BlockHandleRootElement>

onEnded?: ReactEventHandler<BlockHandleRootElement>

onEndedCapture?: ReactEventHandler<BlockHandleRootElement>

onLoadedData?: ReactEventHandler<BlockHandleRootElement>

onLoadedDataCapture?: ReactEventHandler<BlockHandleRootElement>

onLoadedMetadata?: ReactEventHandler<BlockHandleRootElement>

onLoadedMetadataCapture?: ReactEventHandler<BlockHandleRootElement>

onLoadStart?: ReactEventHandler<BlockHandleRootElement>

onLoadStartCapture?: ReactEventHandler<BlockHandleRootElement>

onPause?: ReactEventHandler<BlockHandleRootElement>

onPauseCapture?: ReactEventHandler<BlockHandleRootElement>

onPlay?: ReactEventHandler<BlockHandleRootElement>

onPlayCapture?: ReactEventHandler<BlockHandleRootElement>

onPlaying?: ReactEventHandler<BlockHandleRootElement>

onPlayingCapture?: ReactEventHandler<BlockHandleRootElement>

onProgress?: ReactEventHandler<BlockHandleRootElement>

onProgressCapture?: ReactEventHandler<BlockHandleRootElement>

onRateChange?: ReactEventHandler<BlockHandleRootElement>

onRateChangeCapture?: ReactEventHandler<BlockHandleRootElement>

onSeeked?: ReactEventHandler<BlockHandleRootElement>

onSeekedCapture?: ReactEventHandler<BlockHandleRootElement>

onSeeking?: ReactEventHandler<BlockHandleRootElement>

onSeekingCapture?: ReactEventHandler<BlockHandleRootElement>

onStalled?: ReactEventHandler<BlockHandleRootElement>

onStalledCapture?: ReactEventHandler<BlockHandleRootElement>

onSuspend?: ReactEventHandler<BlockHandleRootElement>

onSuspendCapture?: ReactEventHandler<BlockHandleRootElement>

onTimeUpdate?: ReactEventHandler<BlockHandleRootElement>

onTimeUpdateCapture?: ReactEventHandler<BlockHandleRootElement>

onVolumeChange?: ReactEventHandler<BlockHandleRootElement>

onVolumeChangeCapture?: ReactEventHandler<BlockHandleRootElement>

onWaiting?: ReactEventHandler<BlockHandleRootElement>

onWaitingCapture?: ReactEventHandler<BlockHandleRootElement>

onAuxClick?: MouseEventHandler<BlockHandleRootElement>

onAuxClickCapture?: MouseEventHandler<BlockHandleRootElement>

onClick?: MouseEventHandler<BlockHandleRootElement>

onClickCapture?: MouseEventHandler<BlockHandleRootElement>

onContextMenu?: MouseEventHandler<BlockHandleRootElement>

onContextMenuCapture?: MouseEventHandler<BlockHandleRootElement>

onDoubleClick?: MouseEventHandler<BlockHandleRootElement>

onDoubleClickCapture?: MouseEventHandler<BlockHandleRootElement>

onDrag?: DragEventHandler<BlockHandleRootElement>

onDragCapture?: DragEventHandler<BlockHandleRootElement>

onDragEnd?: DragEventHandler<BlockHandleRootElement>

onDragEndCapture?: DragEventHandler<BlockHandleRootElement>

onDragEnter?: DragEventHandler<BlockHandleRootElement>

onDragEnterCapture?: DragEventHandler<BlockHandleRootElement>

onDragExit?: DragEventHandler<BlockHandleRootElement>

onDragExitCapture?: DragEventHandler<BlockHandleRootElement>

onDragLeave?: DragEventHandler<BlockHandleRootElement>

onDragLeaveCapture?: DragEventHandler<BlockHandleRootElement>

onDragOver?: DragEventHandler<BlockHandleRootElement>

onDragOverCapture?: DragEventHandler<BlockHandleRootElement>

onDragStart?: DragEventHandler<BlockHandleRootElement>

onDragStartCapture?: DragEventHandler<BlockHandleRootElement>

onDrop?: DragEventHandler<BlockHandleRootElement>

onDropCapture?: DragEventHandler<BlockHandleRootElement>

onMouseDown?: MouseEventHandler<BlockHandleRootElement>

onMouseDownCapture?: MouseEventHandler<BlockHandleRootElement>

onMouseEnter?: MouseEventHandler<BlockHandleRootElement>

onMouseLeave?: MouseEventHandler<BlockHandleRootElement>

onMouseMove?: MouseEventHandler<BlockHandleRootElement>

onMouseMoveCapture?: MouseEventHandler<BlockHandleRootElement>

onMouseOut?: MouseEventHandler<BlockHandleRootElement>

onMouseOutCapture?: MouseEventHandler<BlockHandleRootElement>

onMouseOver?: MouseEventHandler<BlockHandleRootElement>

onMouseOverCapture?: MouseEventHandler<BlockHandleRootElement>

onMouseUp?: MouseEventHandler<BlockHandleRootElement>

onMouseUpCapture?: MouseEventHandler<BlockHandleRootElement>

onSelect?: ReactEventHandler<BlockHandleRootElement>

onSelectCapture?: ReactEventHandler<BlockHandleRootElement>

onTouchCancel?: TouchEventHandler<BlockHandleRootElement>

onTouchCancelCapture?: TouchEventHandler<BlockHandleRootElement>

onTouchEnd?: TouchEventHandler<BlockHandleRootElement>

onTouchEndCapture?: TouchEventHandler<BlockHandleRootElement>

onTouchMove?: TouchEventHandler<BlockHandleRootElement>

onTouchMoveCapture?: TouchEventHandler<BlockHandleRootElement>

onTouchStart?: TouchEventHandler<BlockHandleRootElement>

onTouchStartCapture?: TouchEventHandler<BlockHandleRootElement>

onPointerDown?: PointerEventHandler<BlockHandleRootElement>

onPointerDownCapture?: PointerEventHandler<BlockHandleRootElement>

onPointerMove?: PointerEventHandler<BlockHandleRootElement>

onPointerMoveCapture?: PointerEventHandler<BlockHandleRootElement>

onPointerUp?: PointerEventHandler<BlockHandleRootElement>

onPointerUpCapture?: PointerEventHandler<BlockHandleRootElement>

onPointerCancel?: PointerEventHandler<BlockHandleRootElement>

onPointerCancelCapture?: PointerEventHandler<BlockHandleRootElement>

onPointerEnter?: PointerEventHandler<BlockHandleRootElement>

onPointerLeave?: PointerEventHandler<BlockHandleRootElement>

onPointerOver?: PointerEventHandler<BlockHandleRootElement>

onPointerOverCapture?: PointerEventHandler<BlockHandleRootElement>

onPointerOut?: PointerEventHandler<BlockHandleRootElement>

onPointerOutCapture?: PointerEventHandler<BlockHandleRootElement>

onGotPointerCapture?: PointerEventHandler<BlockHandleRootElement>

onGotPointerCaptureCapture?: PointerEventHandler<BlockHandleRootElement>

onLostPointerCapture?: PointerEventHandler<BlockHandleRootElement>

onLostPointerCaptureCapture?: PointerEventHandler<BlockHandleRootElement>

onScroll?: UIEventHandler<BlockHandleRootElement>

onScrollCapture?: UIEventHandler<BlockHandleRootElement>

onScrollEnd?: UIEventHandler<BlockHandleRootElement>

onScrollEndCapture?: UIEventHandler<BlockHandleRootElement>

onWheel?: WheelEventHandler<BlockHandleRootElement>

onWheelCapture?: WheelEventHandler<BlockHandleRootElement>

onAnimationStart?: AnimationEventHandler<BlockHandleRootElement>

onAnimationStartCapture?: AnimationEventHandler<BlockHandleRootElement>

onAnimationEnd?: AnimationEventHandler<BlockHandleRootElement>

onAnimationEndCapture?: AnimationEventHandler<BlockHandleRootElement>

onAnimationIteration?: AnimationEventHandler<BlockHandleRootElement>

onAnimationIterationCapture?: AnimationEventHandler<BlockHandleRootElement>

onToggle?: ToggleEventHandler<BlockHandleRootElement>

onBeforeToggle?: ToggleEventHandler<BlockHandleRootElement>

onTransitionCancel?: TransitionEventHandler<BlockHandleRootElement>

onTransitionCancelCapture?: TransitionEventHandler<BlockHandleRootElement>

onTransitionEnd?: TransitionEventHandler<BlockHandleRootElement>

onTransitionEndCapture?: TransitionEventHandler<BlockHandleRootElement>

onTransitionRun?: TransitionEventHandler<BlockHandleRootElement>

onTransitionRunCapture?: TransitionEventHandler<BlockHandleRootElement>

onTransitionStart?: TransitionEventHandler<BlockHandleRootElement>

onTransitionStartCapture?: TransitionEventHandler<BlockHandleRootElement>

aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?: "inline" | "none" | "list" | "both"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-braillelabel?: string

Defines a string value that labels the current element, which is intended to be converted into Braille.

aria-label.

aria-brailleroledescription?: string

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

aria-roledescription.

aria-busy?: Booleanish

aria-checked?: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

  • aria-pressed
  • aria-selected.

aria-colcount?: number

Defines the total number of columns in a table, grid, or treegrid.

aria-colindex.

aria-colindex?: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

  • aria-colcount
  • aria-colspan.

aria-colindextext?: string

Defines a human readable text alternative of aria-colindex.

aria-rowindextext.

aria-colspan?: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-colindex
  • aria-rowspan.

aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

aria-owns.

aria-current?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

aria-labelledby

aria-description?: string

Defines a string value that describes or annotates the current element.

related aria-describedby.

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

  • aria-hidden
  • aria-readonly.

aria-dropeffect?: "copy" | "link" | "move" | "none" | "execute" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

  • aria-invalid
  • aria-describedby.

aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

in ARIA 1.1

aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

aria-disabled.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

aria-describedby.

aria-level?: number

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "vertical" | "horizontal"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: number

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-setsize.

aria-pressed?: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.

  • aria-checked
  • aria-selected.

aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

aria-disabled.

aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: number

Defines the total number of rows in a table, grid, or treegrid.

aria-rowindex.

aria-rowindex?: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

  • aria-rowcount
  • aria-rowspan.

aria-rowindextext?: string

Defines a human readable text alternative of aria-rowindex.

aria-colindextext.

aria-rowspan?: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-rowindex
  • aria-colspan.

aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

  • aria-checked
  • aria-pressed.

aria-setsize?: number

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-posinset.

aria-sort?: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: number

Defines the maximum allowed value for a range widget.

aria-valuemin?: number

Defines the minimum allowed value for a range widget.

aria-valuenow?: number

Defines the current value for a range widget.

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

defaultChecked?: boolean

defaultValue?: string | number | readonly string[]

suppressContentEditableWarning?: boolean

suppressHydrationWarning?: boolean

accessKey?: string

autoCapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters" | string & object

autoFocus?: boolean

className?: string

contentEditable?: "plaintext-only" | "inherit" | Booleanish

contextMenu?: string

dir?: string

draggable?: Booleanish

enterKeyHint?: "done" | "search" | "go" | "enter" | "next" | "previous" | "send"

hidden?: boolean

id?: string

lang?: string

nonce?: string

slot?: string

spellCheck?: Booleanish

style?: CSSProperties

tabIndex?: number

title?: string

translate?: "yes" | "no"

radioGroup?: string

role?: AriaRole

about?: string

content?: string

datatype?: string

inlist?: any

prefix?: string

property?: string

rel?: string

resource?: string

rev?: string

typeof?: string

vocab?: string

autoCorrect?: string

autoSave?: string

color?: string

itemProp?: string

itemScope?: boolean

itemType?: string

itemID?: string

itemRef?: string

results?: number

security?: string

unselectable?: "off" | "on"

popover?: "" | "auto" | "hint" | "manual"

popoverTargetAction?: "toggle" | "hide" | "show"

popoverTarget?: string

inert?: boolean

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert

inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents

https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute

is?: string

Specify that a standard HTML element should behave like a defined custom built-in element

https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is

exportparts?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts

part?: string

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part

const BlockHandleAdd: ForwardRefExoticComponent<BlockHandleAddProps & RefAttributes<BlockHandleAddElement>>

A React component that renders an prosekit-block-handle-add custom element.


const BlockHandleDraggable: ForwardRefExoticComponent<BlockHandleDraggableProps & RefAttributes<BlockHandleDraggableElement>>

A React component that renders an prosekit-block-handle-draggable custom element.


const BlockHandlePopup: ForwardRefExoticComponent<BlockHandlePopupProps & RefAttributes<BlockHandlePopupElement>>

A React component that renders an prosekit-block-handle-popup custom element.


const BlockHandlePositioner: ForwardRefExoticComponent<BlockHandlePositionerProps & RefAttributes<BlockHandlePositionerElement>>

A React component that renders an prosekit-block-handle-positioner custom element.


const BlockHandleRoot: ForwardRefExoticComponent<BlockHandleRootProps & RefAttributes<BlockHandleRootElement>>

A React component that renders an prosekit-block-handle-root custom element.

Re-exports BlockHandleRootEvents


Re-exports BlockHandleStateChangeEvent