Skip to content

MSwitchControlStyle

Stanislav Podolia edited this page Aug 7, 2019 · 7 revisions

Flow Wiki

MSwitchControlStyle

  • MButtonState

  • MColor
    https://www.google.com/design/spec/style/color.html#color-color-palette
    To construct a color, use one of the functions below

  • MOnOffText
    If "off" text equals "", only "on" text is displayed
    Usefull when you don't need to change text on "off" value, so you can pass only "on" text.

    • on - string
    • off - string
  • MLabel
    Label in empty input

    • label - string
  • MLeftIcon
    Left icon
    See MShowLeftButton for action button

    • icon - string
  • MWidth

    • width - double
Clone this wiki locally