The implementation examples shown below are available in the demo component. We recommend consulting them for a better understanding.
Use de Action "Close a feedback message "Step-by-Step example
1. Create a screen action
Create a screen action to call the action "CloseFeedbackMessage ". Nominate it "CloseFM".
2. Call the Action
Open the screen action previously created, and drag and drop the action "CloseFeedbackMessage ", inside of the action.
3. Trigger the screen action
When triggering the "CloseFM" action with an open feedback message. The feedback message will be closed.
This example can be modified and applied for the actions "CloseFeedBackMessageAPI" and "CloseFeedbackMessageJQuery" and all the actions of the category Show.
Use de Action "ShowFeedbackMessageWithTimeout" Step-by-Step example
Create a screen action to call the action "CloseFeedbackMessageWithTimeout". Nominate it "CloseFMTimeout".
2. Call the action
Open the screen action previously created, and drag and drop the action "CloseFeedbackMessageWithTimeout ", inside of the action.
Note that if you want to customize the closing time of a Feedback Message, you need a variable and an input to store the time in ms, if no specific timeout is defined, the default value is 20ms.
When triggering the " CloseFMTimeout" action with an open feedback message, the feedback message will be closed at the time previously stipulated or at the default value.