receiveNativeEvent(nativeEvent) {
    trace(...componentName, 'receiveNativeEvent', nativeEvent);
    if (!nativeEvent || !Array.isArray(nativeEvent) || nativeEvent.length < 2) {
      return;
    }
    const [eventName, eventParams] = nativeEvent;
    const app = getApp();
    if (app) {
      app.$emit(eventName, eventParams);
    }
  }
/**
   * Redirect native events to Vue directly.
   */
Redirect native events to Vue directly.
Redirect native events to Vue directly .
receiveNativeEvent(nativeEvent) {
    trace(...componentName, 'receiveNativeEvent', nativeEvent);
    if (!nativeEvent || !Array.isArray(nativeEvent) || nativeEvent.length < 2) {
      return;
    }
    const [eventName, eventParams] = nativeEvent;
    const app = getApp();
    if (app) {
      app.$emit(eventName, eventParams);
    }
  }
receiveNativeEvent ( nativeEvent ) { trace ( ... componentName , 'receiveNativeEvent' , nativeEvent ) ; if ( ! nativeEvent || ! Array . isArray ( nativeEvent ) || nativeEvent . length < 2 ) { return ; } const [ eventName , eventParams ] = nativeEvent ; const app = getApp ( ) ; if ( app ) { app . $emit ( eventName , eventParams ) ; } }
Redirect native events to Vue directly.
Redirect native events to Vue directly .