Skip to main content

SegmentedOption

One option of a segmented control.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { SegmentedOption } from "@mapcairn/core";

interface SegmentedOption

Properties​

label​

readonly label: DefinitionText;

The option's name.

value​

readonly value: string;

The value used in templates and the permalink: lowercase letters, digits, ., _ and -.

See also​

Source: packages/core/src/layers/definition.ts:35