BORDER_STYLE

enum
Shape & Appearance

TypeScript enum mirroring CSS border-style values (none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset).

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.

BORDER_STYLE.NONE
No border is drawn.
BORDER_STYLE.HIDDEN
Border hidden — same as none but takes precedence in table border-collapse.
BORDER_STYLE.DOTTED
A series of rounded dots.
BORDER_STYLE.DASHED
A series of short dashes.
BORDER_STYLE.SOLID
A single solid line.
BORDER_STYLE.DOUBLE
Two parallel solid lines.
BORDER_STYLE.GROOVE
A carved-in grooved effect.
BORDER_STYLE.RIDGE
A raised ridge effect — opposite of groove.
BORDER_STYLE.INSET
Makes the element appear embedded in the page.
BORDER_STYLE.OUTSET
Makes the element appear to protrude from the page.

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