Auto hide Warning/Error feedback message for Reactive Web/Mobile

As we know for feedback message in Reactive web has autohide feature for info/success type in default. I just want to share how to implement the autohide for warning/error feedback message.


Instead using it directly from side toolbar, create a client action with javascript inside it and call the feedback message manually using Javascript API.
Add class "feedback-message-autoclose" for warning and error type. It should be type 2 and 3 according to this FeedbackMessage

So it should be like this


You also can add the message you want for each type of feedback Message.
Check above url to add another behaviour like onClick.


Cheers

Good example Hendra!