![]() ![]() Specifies the look and feel of a widget when the cursor hovers on the widget. Specifies percentage of weight to be allocated by its parent widget. You can enable or disable a blur-effect for a widget This is a Float-value property that defines the current zoom state of an Image widget. This is a Boolean property that enables zooming capabilities for an Image widget. Unregisters a widget from 3D Touch peek and pop gestures.Īn event callback is invoked by the platform when the widget location position gets changed on scrolling.Ī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 touch moves on the touch surface continuously until movement ends.Īn event callback is invoked by the platform when the user touches the touch surface.Īllows you to set a gesture recognizer for a specified gesture for a specified widget.Īllows you to remove the specified gesture recognizer for the specified widget. Overrides the existing onPopCallback for the widget. Sets and overrides the existing onPeekCallback for the widget. Registers a widget to enable 3D Touch peek and pop gestures. ![]() Specifies the source of the image to be displayed. Used to configure the cachePolicy and storagePolicy of the cache responses. When this method is used on a container widget, then all the widgets inside the container are cloned. Takes an array of widget references as input, which are to be removed as overlay widgets from an Image widget Takes an array of widgets as input, which are to be added as overlay widgets on the Image widget. Used to enable and configure the left or right swipe actions for a widget. Indicates if the padding is to be applied in pixels or in percentage.ĭ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.Ĭontains an animation transformation that can be used to animate the widget. 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. Indicates if the margin is to be applied in pixels or in percentage. Specifies the anchor point of the widget bounds rectangle using the widget's coordinate space.ĭ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 lower left corner edge of the widget and is measured from the left bounds of the parent container. This event is invoked for every widget when the widget position and dimensions are computed. The Image widget capabilities can be broadly categorized into the following: This widget supports drag and drop of images for iOS 11 on iPad. ![]() For general information on using widgets in Quantum Visualizer, see Designing an Application in the Visualizer User Guide.įor general information on the Image2 widget see the Image2 topic in the Quantum Visualizer User Guide. Widgets are normally added to your application using Quantum Visualizer, but can also be added from code. For example, in the following employee list screen, the employee images are displayed using the base 64 strings from the backend. For instance, consider the following screen that displays the profile picture of an employee in a circular view.īase 64: When you get base 64 strings from the backend, the image widget is used to display it as an image in an application. The shape of an image can also be changed using the clipView property. Profile picture: Image widget is used to set the profile picture of a user in an application. Image when failed and Image while downloading: An image is displayed on a screen when the remote source is not available, or when the remote source is being downloaded.Ĭompany logo: Image widget is used to display the company logo in a form. For instance, a back button in a form can have an image depicting the back arrow as its skin. Image as widget skin: Image widget can be used to display an image as a background skin for a widget. Image widget is used to display a graphic image such as a company logo, photo, or illustration, in PNG, JPEG,WebP or GIF format, in an application.įollowing are the key concepts in Image widget: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |