This JS API provides you access to the life ring button tool. Access methods on this object:
Attaches the launcher button, if it's not attached, and opens the modal.
Closes the modal and detaches the launcher button.
Closes the modal.
Listens to a Life Ring Button event and calls the
callback. Supported events are
closed - this event is triggered when the Life Ring Button is closed;
opened - triggered when the modal is opened.