Options
All
  • Public
  • Public/Protected
  • All
Menu

An enum parameter can be passed to a component.

param name

The name of the parameter.

param enumValues

The values of the enum.

param defaultValue

The optional default value of the parameter. Optional, but will be marked as required if not provided.

param description

An optional description of the parameter.

Hierarchy

Index

Constructors

  • new CustomEnumParameter(name: string, enumValues: string[], defaultValue?: unknown, description?: string): CustomEnumParameter

Properties

defaultValue?: unknown
description?: string
enumValues: string[]
name: string
type: "enum"

Accessors

Methods

Generated using TypeDoc