labelPosition

positions a label in relation to the control

string labelPosition;

Values

  • "top"
    places a label above the control
  • Example

    {view:"text", label:"Some Text", labelPosition:"top"}


    Default value:

    "left"

    Related samples

    Details

    By default, the label is aligned to the left, so the top label will also be placed to the left.

    To align the top label to the right, set the labelAlign property:

    {view:"text", label:"Some Text", labelAlign:"right", labelPosition:"top"}
    See also
    Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.