This documentation explains how to use the @extras/_actions.twig
component in Craft CMS to call web controller actions via JavaScript and display success or error notices.
The Actions
component allows you to make asynchronous requests to Craft CMS web controller actions and handle responses within your JavaScript code. Additionally, the component can display success or error notifications to users based on the outcome of the requests.