In the Control group of the Triggers section, there are blocks that initiate the execution of the connected block stack.
When [Object name] emits [Event type] do
Initiate a blockchain execution when a button is clicked or when the mouse cursor hovers over it.
Configuration
Inputs | Description |
Object name | Select a button from the workbook |
Event type |
|
Supports
Feature | Description |
Embeds | Yes |
Reporting | Not supported |
Example: Toggle visibility of an object when button is clicked
|
Actions |
Dashboards can sometimes require additional guidance for users who haven't used the application before. One way to assist these users is by adding contextual information and explanations of KPIs directly on the dashboard. Incorporating a button to show and hide this information can be an effective method to enhance user experience.
Clicking on the button with name Show/hide Information Button will show the object/group with name Information if it's hidden and hide it if it's visible. This is done with the use of the not condition operator block that will change a True to False and False to True. |
Example: Clear filter in field when button is clicked
|
Actions |
Enabling users to quickly clear specific fields can enhance the user experience in guided analytics applications.
Clicking on the button with name Clear Customer ID Filters Button will clear the filters in the field Customer ID in the table Order. |
Example: Create image hover effect when button is hovered
|
When crafting pixel-perfect data storytelling workbooks with Astrato, enhancing user interaction responsiveness is crucial. A compelling way to do this is by displaying different images when a button is hovered over. |
Layer structure
|
Actions |
To implement this, create these objects:
Ensure that both the images and the button are centered aligned horizontally and vertically.
Set up three actions:
This setup ensures a dynamic and responsive user experience in your Astrato workbooks. |