extensions/amp-story/1.0/amp-story-share.js
/**
   * Opens the sharing dialog of native browsers.
   * @private
   */
Opens the sharing dialog of native browsers.
@private
Opens the sharing dialog of native browsers . @private
openSystemShare_() {
    const {navigator} = this.win_;
    const shareData = {
      url: Services.documentInfoForDoc(getAmpdoc(this.storyEl_)).canonicalUrl,
      text: this.win_.document.title,
    };
    navigator.share(shareData).catch((e) => {
      user().warn(TAG, e.message, shareData);
    });
  }
openSystemShare_ ( ) { const { navigator } = this . win_ ; const shareData = { url : Services . documentInfoForDoc ( getAmpdoc ( this . storyEl_ ) ) . canonicalUrl , text : this . win_ . document . title , } ; navigator . share ( shareData ) . catch ( ( e ) => { user ( ) . warn ( TAG , e . message , shareData ) ; } ) ; }
Opens the sharing dialog of native browsers.
Opens the sharing dialog of native browsers .