src/sap.m/src/sap/m/GrowingEnablement.js
function() {
			var sTriggerID = this._oControl.getId() + "-trigger",
				sTriggerText = this._oControl.getGrowingTriggerText();

			sTriggerText = sTriggerText || sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("LOAD_MORE_DATA");
			this._oControl.addNavSection(sTriggerID);

			if (this._oTrigger) {
				this.setTriggerText(sTriggerText);
				return this._oTrigger;
			}

			// The growing button is changed to span tag as h1 tag was semantically incorrect.
			this._oTrigger = new CustomListItem({
				id: sTriggerID,
				busyIndicatorDelay: 0,
				type: ListType.Active,
				content: new HTML({
					content:	'<div class="sapMGrowingListTrigger">' +
									'<div class="sapMSLITitleDiv sapMGrowingListTriggerText">' +
										'<span class="sapMSLITitle" id="' + sTriggerID + 'Text">' + encodeXML(sTriggerText) + '</span>' +
									'</div>' +
									'<div class="sapMGrowingListDescription sapMSLIDescription" id="' + sTriggerID + 'Info"></div>' +
								'</div>'
				})
			}).setParent(this._oControl, null, true).attachPress(this.requestNewPage, this).addEventDelegate({
				onsapenter : function(oEvent) {
					this.requestNewPage();
					oEvent.preventDefault();
				},
				onsapspace : function(oEvent) {
					this.requestNewPage();
					oEvent.preventDefault();
				},
				onAfterRendering : function(oEvent) {
					this._oTrigger.$().attr({
						"tabindex": 0,
						"role": "button",
						"aria-labelledby": sTriggerID + "Text" + " " + sTriggerID + "Info"
					});
				}
			}, this);

			// stop the eventing between item and the list
			this._oTrigger.getList = function() {};
			// defines the tag name
			this._oTrigger.TagName = "div";

			return this._oTrigger;
		}
function() {
			var sTriggerID = this._oControl.getId() + "-trigger",
				sTriggerText = this._oControl.getGrowingTriggerText();

			sTriggerText = sTriggerText || sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("LOAD_MORE_DATA");
			this._oControl.addNavSection(sTriggerID);

			if (this._oTrigger) {
				this.setTriggerText(sTriggerText);
				return this._oTrigger;
			}

			// The growing button is changed to span tag as h1 tag was semantically incorrect.
			this._oTrigger = new CustomListItem({
				id: sTriggerID,
				busyIndicatorDelay: 0,
				type: ListType.Active,
				content: new HTML({
					content:	'<div class="sapMGrowingListTrigger">' +
									'<div class="sapMSLITitleDiv sapMGrowingListTriggerText">' +
										'<span class="sapMSLITitle" id="' + sTriggerID + 'Text">' + encodeXML(sTriggerText) + '</span>' +
									'</div>' +
									'<div class="sapMGrowingListDescription sapMSLIDescription" id="' + sTriggerID + 'Info"></div>' +
								'</div>'
				})
			}).setParent(this._oControl, null, true).attachPress(this.requestNewPage, this).addEventDelegate({
				onsapenter : function(oEvent) {
					this.requestNewPage();
					oEvent.preventDefault();
				},
				onsapspace : function(oEvent) {
					this.requestNewPage();
					oEvent.preventDefault();
				},
				onAfterRendering : function(oEvent) {
					this._oTrigger.$().attr({
						"tabindex": 0,
						"role": "button",
						"aria-labelledby": sTriggerID + "Text" + " " + sTriggerID + "Info"
					});
				}
			}, this);

			// stop the eventing between item and the list
			this._oTrigger.getList = function() {};
			// defines the tag name
			this._oTrigger.TagName = "div";

			return this._oTrigger;
		}
function ( ) { var sTriggerID = this . _oControl . getId ( ) + "-trigger" , sTriggerText = this . _oControl . getGrowingTriggerText ( ) ; sTriggerText = sTriggerText || sap . ui . getCore ( ) . getLibraryResourceBundle ( "sap.m" ) . getText ( "LOAD_MORE_DATA" ) ; this . _oControl . addNavSection ( sTriggerID ) ; if ( this . _oTrigger ) { this . setTriggerText ( sTriggerText ) ; return this . _oTrigger ; } // The growing button is changed to span tag as h1 tag was semantically incorrect. this . _oTrigger = new CustomListItem ( { id : sTriggerID , busyIndicatorDelay : 0 , type : ListType . Active , content : new HTML ( { content : '<div class="sapMGrowingListTrigger">' + '<div class="sapMSLITitleDiv sapMGrowingListTriggerText">' + '<span class="sapMSLITitle" id="' + sTriggerID + 'Text">' + encodeXML ( sTriggerText ) + '</span>' + '</div>' + '<div class="sapMGrowingListDescription sapMSLIDescription" id="' + sTriggerID + 'Info"></div>' + '</div>' } ) } ) . setParent ( this . _oControl , null , true ) . attachPress ( this . requestNewPage , this ) . addEventDelegate ( { onsapenter : function ( oEvent ) { this . requestNewPage ( ) ; oEvent . preventDefault ( ) ; } , onsapspace : function ( oEvent ) { this . requestNewPage ( ) ; oEvent . preventDefault ( ) ; } , onAfterRendering : function ( oEvent ) { this . _oTrigger . $ ( ) . attr ( { "tabindex" : 0 , "role" : "button" , "aria-labelledby" : sTriggerID + "Text" + " " + sTriggerID + "Info" } ) ; } } , this ) ; // stop the eventing between item and the list this . _oTrigger . getList = function ( ) { } ; // defines the tag name this . _oTrigger . TagName = "div" ; return this . _oTrigger ; }
created and returns load more trigger
created and returns load more trigger