destroy() {
        removeAddedEvents();
        if (mc) {
          mc.destroy();
        }
        mc = null;
        instance = null;
        settings = null;
      }
/**
       * Destroys and unbinds all event handlers
       */
Destroys and unbinds all event handlers
Destroys and unbinds all event handlers
destroy() {
        removeAddedEvents();
        if (mc) {
          mc.destroy();
        }
        mc = null;
        instance = null;
        settings = null;
      }
destroy ( ) { removeAddedEvents ( ) ; if ( mc ) { mc . destroy ( ) ; } mc = null ; instance = null ; settings = null ; }
Destroys and unbinds all event handlers
Destroys and unbinds all event handlers