A toggle switch can be annotated with a label using the text property and can be:
text (string, Array<string>)
an equation (Equation, EQN_Equation)
In all cases, an actual Equation is created as the label. The
equation can have multiple forms, which can be set using the showForm
method.
If text: string, then an equation with a single form named base will
be created with a single element being the string text.
If text: Array<string>, then an equation with a form for each element
of the array is created. Each form is named '0', '1', '2'... corresponding
with the index of the array. Each form is has a single element, being the
text at that index.
Use text: Equation or EQN_Equation to create completely custom
equations with any forms desirable.
Collections toggle label options object.
A toggle switch can be annotated with a label using the
textproperty and can be:string,Array<string>)Equation,EQN_Equation)In all cases, an actual Equation is created as the label. The equation can have multiple forms, which can be set using the
showFormmethod.If
text:string, then an equation with a single form namedbasewill be created with a single element being the string text.If
text:Array<string>, then an equation with a form for each element of the array is created. Each form is named '0', '1', '2'... corresponding with the index of the array. Each form is has a single element, being the text at that index.Use
text:EquationorEQN_Equationto create completely custom equations with any forms desirable.See
COL_Toggle