User Location
The User Location component captures and displays the current location of the user.
📘 Overview
The User Location component captures and displays the current location of the user.
🎚️ Changing the properties
The main property around the User Location component is the button configuration. A button can be configured to trigger the user location request.
🪄 Adding Interactions
Interactions define what will happen when users interact with the User Location component. You can find a list of interactions available here.
Here are the available interactions for the List component:
On
Successful Location
: The event is fired when a user clicks the button to share his location.
🎨 Styling
From the Styles panel, you can customize styling attributes for the Progress Circle:
Button
: customize the button styling settings.
You can find the instructions for styling here.
🎛️ Specifications
Attributes
Name | Type | Description |
---|---|---|
Get Current Position on load | Boolean | If true, the component will automatically get the current location when the flow screen is loaded. |
Button Label | String | The Label text is diplayed on the button. |
Variant | String | Change the visual appearance of the button. |
Icon Name | String | Changes the appearance of the progress indicator for the base type only. |
Icon Position | String | Set the position of the icon |
Type | String | To specify the type of button. |
Last updated