You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the obscure naming convention it might be confusing as to what this method does. Rest assured, this page will help you out. The remove method, deletes the modal from the DOM. It only takes one parameter, which is the DOM Node that you want to return the focus to once the modal is removed. As per accessibility guidelines, this should be the button used to open the modal in the first place.
parameter name
Description
Type
Default value
initiatorButton
The DOM node you wish to focus, once the modal is removed.