src/sap.ui.core/src/sap/ui/core/routing/Target.js
function(oData, fnFunction, oListener) {
				var bHasListener = this.hasListeners("titleChanged"),
					sTitle = this._oTitleProvider && this._oTitleProvider.getTitle();

				this.attachEvent(this.M_EVENTS.TITLE_CHANGED, oData, fnFunction, oListener);
				// in case the title is changed before the first event listener is attached, we need to notify, too
				if (!bHasListener && sTitle && this._bIsDisplayed) {
					this.fireTitleChanged({
						name: this._oOptions._name,
						title: sTitle
					});
				}
				return this;
			}
function(oData, fnFunction, oListener) {
				var bHasListener = this.hasListeners("titleChanged"),
					sTitle = this._oTitleProvider && this._oTitleProvider.getTitle();

				this.attachEvent(this.M_EVENTS.TITLE_CHANGED, oData, fnFunction, oListener);
				// in case the title is changed before the first event listener is attached, we need to notify, too
				if (!bHasListener && sTitle && this._bIsDisplayed) {
					this.fireTitleChanged({
						name: this._oOptions._name,
						title: sTitle
					});
				}
				return this;
			}
function ( oData , fnFunction , oListener ) { var bHasListener = this . hasListeners ( "titleChanged" ) , sTitle = this . _oTitleProvider && this . _oTitleProvider . getTitle ( ) ; this . attachEvent ( this . M_EVENTS . TITLE_CHANGED , oData , fnFunction , oListener ) ; // in case the title is changed before the first event listener is attached, we need to notify, too if ( ! bHasListener && sTitle && this . _bIsDisplayed ) { this . fireTitleChanged ( { name : this . _oOptions . _name , title : sTitle } ) ; } return this ; }
Will be fired when the title of this Target has been changed.

@name sap.ui.core.routing.Target#titleChanged
@event
@param {object} oEvent
@param {sap.ui.base.EventProvider} oEvent.getSource
@param {object} oEvent.getParameters
@param {string} oEvent.getParameters.title The name of this target
@param {string} oEvent.getParameters.title The current displayed title
@private
 
Attach event-handler <code>fnFunction</code> to the 'titleChanged' event of this <code>sap.ui.core.routing.Target</code>.<br/>

When the first event handler is registered later than the last title change, it's still called with the last changed title because
when title is set with static text, the event is fired synchronously with the instantiation of this Target and the event handler can't
be registered before the event is fired.

@param {object} [oData] The object, that should be passed along with the event-object when firing the event.
@param {function} fnFunction The function to call, when the event occurs. This function will be called on the
oListener-instance (if present) or in a 'static way'.
@param {object} [oListener] Object on which to call the given function.

@return {sap.ui.core.routing.Target} <code>this</code> to allow method chaining
@private
Will be fired when the title of this Target has been changed .