function removeAddedEvents() {
    // remove added native events
    nativeEvents.forEach(({ key, listener }) => {
      element.removeEventListener(key, listener);
    });
    nativeEvents = [];
  }
/**
   * Removes all added native events
   * @private
   */
Removes all added native events
@private
Removes all added native events @private
function removeAddedEvents() {
    nativeEvents.forEach(({ key, listener }) => {
      element.removeEventListener(key, listener);
    });
    nativeEvents = [];
  }
function removeAddedEvents ( ) { nativeEvents . forEach ( ( { key , listener } ) => { element . removeEventListener ( key , listener ) ; } ) ; nativeEvents = [ ] ; }
Removes all added native events
 @private
Removes all added native events @private
// remove added native events