on 01-12-2016 5:31 PM
Hello everyone,
Could you explain how can i switch in fullscreen mode my custom control by clicking on a button ?
I have to create a button like in this page SAPUI5 Explored .
Thanks,
Arthur
if (!this._oShell) {
this._oShell = sap.ui.getCore().byId('Shell');
}
var bSwitchToFullScreen = (this._getSplitApp().getMode() === "ShowHideMode");
if (bSwitchToFullScreen) {
this._getSplitApp().setMode('HideMode');
this._oShell.setAppWidthLimited(false);
} else {
this._getSplitApp().setMode('ShowHideMode');
this._oShell.setAppWidthLimited(true);
}
this is what it does when u click the full screen button
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.