The Avonni User Location component provides a way to capture and display the user's current geographic location.
The main property around the User Location component is the button configuration. A button can be configured to trigger the user location request.
Interactions define what happens when users interact with the User Location component. A list of interactions is 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.
Successful Location
From the Styles panel, you can customize styling attributes for the Progress Circle:
Button: customize the button styling settings.
Button
You can find the instructions for styling here.
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
Change the visual appearance of the button.
Icon Name
Changes the appearance of the progress indicator for the base type only.
Icon Position
Set the position of the icon
Type
To specify the type of button.
Last updated 1 year ago
Was this helpful?