constructor(options) {
      /**
       * The version of Toastify
       * @type {string}
       * @public
       */
      this.version = "1.12.0";

      /**
       * The configuration object to configure Toastify
       * @type {ToastifyConfigurationObject}
       * @public
       */
      this.options = {};

      /**
       * The element that is the Toast
       * @type {Element}
       * @public
       */
      this.toastElement = null;

      /**
       * The root element that contains all the toasts
       * @type {Element}
       * @private
       */
      this._rootElement = document.body;

      this._init(options);
    }
Options used for Toastify
@typedef {Object} ToastifyConfigurationObject
@property {string} text - Message to be displayed in the toast
@property {Element} node - Provide a node to be mounted inside the toast. node takes higher precedence over text
@property {number} duration - Duration for which the toast should be displayed. -1 for permanent toast
@property {string|Element} selector - CSS ID Selector on which the toast should be added
@property {url} destination - URL to which the browser should be navigated on click of the toast
@property {boolean} newWindow - Decides whether the destination should be opened in a new window or not
@property {boolean} close - To show the close icon or not
@property {string} gravity - To show the toast from top or bottom
@property {string} position - To show the toast on left or right
@property {string} backgroundColor - Deprecated: Sets the background color of the toast
@property {url} avatar - Image/icon to be shown before text
@property {string} className - Ability to provide custom class name for further customization
@property {boolean} stopOnFocus - To stop timer when hovered over the toast (Only if duration is set)
@property {Function} callback - Invoked when the toast is dismissed
@property {Function} onClick - Invoked when the toast is clicked
@property {Object} offset - Ability to add some offset to axis
@property {boolean} escapeMarkup - Toggle the default behavior of escaping HTML markup
@property {string} ariaLive - Use the HTML DOM style property to add styles to toast
@property {Object} style - Use the HTML DOM style property to add styles to toast