添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
In native mobile applications, the checkbox widget can be rendered as either a switch (default) or a checkbox. If checkbox, it displays a tick if the value is true and remains empty if it is false. If switch, it displays a track with right-positioned thumb button if the value is true and a left-positioned thumb button if it is false.

A checkbox must be placed in a data container and displays an attribute of the object (or objects) retrieved by that container. The name of the attribute to be displayed is shown inside the checkbox widget, between square brackets, and colored blue.

For example, this checkbox allows you to see, and set, whether someone is subscribed to your newsletter.

Properties Pane

The properties pane is divided into two major sections by a toggle at the top of the pane: Properties and Styling . Checkbox properties consist of the following sections:

Properties:

  • Data source
  • Label
  • Editability
  • Visibility
  • Common
  • Events
  • Styling:

  • Design Properties
  • Common
  • Miscellaneous:

  • Formatting
  • Properties

    Data Source Section

    This selects which attribute will be used within the widget. You can only select attributes which have the correct data type(s) .

    For more information on selecting a data source, see the Data Source Section section in Properties Common in the Page Editor .

    Label Section

    A label describes the purpose of a widget to the end-user.

    For more information on properties of this section, see the Label Section section in Properties Common in the Page Editor .

    Editability Section

    Editability determines whether an end-user can change the value in an input widget.

    For more information on properties of this section, see the Editability Section section of Properties Common in the Page Editor .

    Visibility Section

    Visibility determines whether a widget is displayed to the end-user as part of the page.

    For more information on properties of this section, see the Visibility Section section in Properties Common in the Page Editor .

    Common Section

    For more information on properties in this section, see the Common Section section in Properties Common in the Page Editor .

    Events Section

    On Change

    The on-change property specifies an action that will be executed when leaving the widget, either by using the Tab key or by clicking another widget, after the value has been changed.

    For more information on properties of this section, see the Event Actions section of On Click Event & Events Section .

    On Enter

    The on-enter property specifies an action that will be executed when the widget is entered, either by using the Tab key or by clicking it with the mouse.

    For more information on properties of this section, see the Event Actions section of On Click Event & Events Section .

    On Leave

    The on-leave property specifies an action that will be executed when leaving the widget, either by using the Tab key or by clicking another widget.

    This differs from the On change property in that the event will always be triggered, even if the value has not been changed.

    For more information on properties of this section, see the Event Actions section of On Click Event & Events Section .

    Styling

    Design Properties Section

    The Design Properties allow you to change spacing and alignment of the widget and hide it on phone, tablet, or desktop, if needed. Design properties may vary depending on the type of the widget. For example, for the text widget you can change its font weight, color, alignment, and letter case.

    Common Section

    For more information on properties in this section, see the Common Section section in Properties Common in the Page Editor .

    Miscellaneous

    Formatting Section

    The render mode property determines whether the widget renders as a switch or a checkbox.

    Read More

  • Data View
  • Attributes
  •