enumOptions
enumOptions(
obj,only?): readonlyobject[]
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.
Parameters
Section titled “Parameters”Record<string, unknown>
readonly string[]
Returns
Section titled “Returns”readonly object[]