Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: CursorRenderOptions

@roomful/core


@roomful/core / CursorRenderOptions

Defined in: packages/core/src/types.ts:757

Configures DOM cursor rendering.

optional container: string | HTMLElement

Defined in: packages/core/src/types.ts:761

Selects the container element or selector for rendered cursors.


optional idleTimeout: number

Defined in: packages/core/src/types.ts:782

Overrides the idle timeout used by the renderer.


optional onMount: (element) => void

Defined in: packages/core/src/types.ts:793

Called with each peer cursor element when it is first created, allowing custom decoration of the rendered node.

HTMLElement

void


optional showIdle: boolean

Defined in: packages/core/src/types.ts:777

Keeps idle cursors visible when true.


optional showName: boolean

Defined in: packages/core/src/types.ts:772

Shows peer labels when true.


optional style: string & object | "default" | "arrow" | "dot" | "pointer" | "none"

Defined in: packages/core/src/types.ts:767

Chooses the cursor marker style. Use 'none' to disable the built-in renderer while keeping cursor tracking active.


optional zIndex: number

Defined in: packages/core/src/types.ts:787

Sets the z-index applied to rendered cursor elements.