![]() ![]() Specifies the skin to be applied to the header of the switch. You can enable or disable a blur-effect for a widget(for example, a FlexContainer) Used to enable and configure the left or right swipe actions for a widget. This API allows you to set a gesture recognizer for a specified gesture for a specified widget. This event callback is invoked by the platform when the widget location position gets changed on scrolling.Īn event callback that is invoked by the platform when there is a change in the default selected value.Īn event callback is invoked by the platform when the user touch is released from the touch surface.Īn event callback is invoked by the platform when the user touches the touch surface.Īn event callback is invoked by the platform when the touch moves on the touch surface continuously until movement ends. When this method is used on a container widget, then all the widgets inside the container are cloned. Specifies the key to be used for internationalization of the string specified in the rightSideText property. ![]() Specifies the key to be used for internationalization of the string specified in the leftSideText property. Indicates if the padding is to be applied in pixels or in percentage.ĭetermines the lower right corner of the widget and is measured from the right bounds of the parent container.ĭetermines the top edge of the widget and measured from the top bounds of the parent container.ĭetermines the width of the widget and is measured along the x-axis. ![]() Specifies the minimum width of the widget and is applicable only when the width property is not specified.ĭefines the space between the content of the widget and the widget boundaries. Specifies the minimum height of the widget and is applicable only when the height property is not specified. Specifies the maximum width of the widget and is applicable only when the width property is not specified. Specifies the maximum height of the widget and is applicable only when the height property is not specified. The Switch widget capabilities can be broadly categorized into the following:ĭetermines the bottom edge of the widget and is measured from the bottom bounds of the parent container.ĭetermines the center of a widget measured from the left bounds of the parent container.ĭetermines the center of a widget measured from the top bounds of the parent container.ĭetermines the height of the widget and measured along the y-axis.ĭetermines the lower left corner edge of the widget and is measured from the left bounds of the parent container. For general information on using widgets in Quantum Visualizer, see Designing an Application in the Visualizer User Guide.įor general information on the Switch widget see the Switch topic in the Quantum Visualizer User Guide. Widgets are normally added to your application using Quantum Visualizer, but can also be added from code. Coupons/Credits: Applying Coupons/Credits in shopping websites.For instance, in social networking apps, you can choose the subjects of your choice such as nature, technology, health, etc, and your feed would primarily consist of the selected subjects. Filters: Switches are used in applying filters.Enable/disable functionalities: To enable or disable various functionalities in applications such as permissions for location, access camera, and access internet.For instance, selecting features like auto-rotate, and airplane mode. Configuring settings: Switch is extensively used in configuring settings in a device.You can slide the Switch if you want the browser to remember your password. For instance, consider a login page, you are given a choice to select the remember me option. Remember password: You can use a switch for a binary yes or no choice. ![]() You must slide the control to select the other value.įollowing are the real-time use cases of Switch widget: The Switch widget displays the current state. The Switch widget is identical to the Switch Control (an on-off switch that is not customizable) in iPhone, and presents two mutually exclusive choices or states. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |