src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js
function(oEvent) {
				this.byId("phoneImage").setVisible(oEvent.name === "Phone");
				this.byId("desktopImage").setVisible(oEvent.name !== "Phone");
				this.byId("phoneImage").toggleStyleClass("phoneHeaderImageDesktop", oEvent.name === "Phone");
			}
function(oEvent) {
				this.byId("phoneImage").setVisible(oEvent.name === "Phone");
				this.byId("desktopImage").setVisible(oEvent.name !== "Phone");
				this.byId("phoneImage").toggleStyleClass("phoneHeaderImageDesktop", oEvent.name === "Phone");
			}
function ( oEvent ) { this . byId ( "phoneImage" ) . setVisible ( oEvent . name === "Phone" ) ; this . byId ( "desktopImage" ) . setVisible ( oEvent . name !== "Phone" ) ; this . byId ( "phoneImage" ) . toggleStyleClass ( "phoneHeaderImageDesktop" , oEvent . name === "Phone" ) ; }
Switches the image to phone and hides the download icon when decreasing the window size
@param {sap.ui.base.Event} oEvent Device media change event
@private
Switches the image to phone and hides the download icon when decreasing the window size