Skip to content

enumOptions

enumOptions(obj, only?): readonly object[]

Defined in: component.ts:136

Build dropdown options from an enum const, so the labels derive from the same definition the runtime uses (no hand-mirrored value→label drift). only curates the member set when an enum carries alias entries that share a value (e.g. ScaleMode); otherwise duplicate values are dropped, keeping the first label.

Record<string, unknown>

readonly string[]

readonly object[]