TEXTAREA_TOOLBAR_POSITION

enum
Form & Input

TypeScript enum for where the rich-text toolbar is rendered relative to the editable surface — top, bottom, or floating.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

TEXTAREA_TOOLBAR_POSITION.TOP
Toolbar appears above the editable surface.
TEXTAREA_TOOLBAR_POSITION.BOTTOM
Toolbar appears below the editable surface.
TEXTAREA_TOOLBAR_POSITION.FLOATING
Toolbar is sticky inside the Field shell — stays visible while the editable surface scrolls.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript