docs: function( to, from, prefix ) {
              var samePage = false;
  
              prefix = prefix || "";
  
              // TODO decide if these events should in fact be triggered on the container
              if ( from ) {
  
                  //Check if this is a same page transition and tell the handler in page
                  if( to[0] === from[0] ){
                      samePage = true;
                  }
  
                  //trigger before show/hide events
                  // TODO deprecate nextPage in favor of next
                  this._triggerWithDeprecated( prefix + "hide", {
  
                      // Deprecated in 1.4 remove in 1.5
                      nextPage: to,
                      toPage: to,
                      prevPage: from,
                      samePage: samePage
                  }, from );
              }
  
              // TODO deprecate prevPage in favor of previous
              this._triggerWithDeprecated( prefix + "show", {
                  prevPage: from || $( "" ),
                  toPage: to
              }, to );
          }