Appendix : Legacy Presto components : Apps and Workspaces : Custom Apps : App Specification Reference : <presto-meta> : Device Compatibility Flags
Device Compatibility Flags
You can alter the following <presto-meta> elements that define device-compatibility for an app:
*<presto-meta name="presto.desktopCompatible" type="text">
*<presto-meta name="presto.phoneCompatible" type="text">
*<presto-meta name="presto.tabletCompatible" type="text">
The value for these flags can be true or false. For example:
<app id="MobileTabletTable" name="MobileTable"
jsclass="MyOrg.MobileTabletTable" height="200" width="200"
draggable="false" minimizable="false">
<title>Tablet Table</title>
...
<presto-meta name="presto.desktopCompatible" type="text">false</presto-meta>
<presto-meta name="presto.phoneCompatible" type="text">false</presto-meta>
<presto-meta name="presto.tabletCompatible" type="text">true</presto-meta>
...
<requires>
<require src="js/app.js" type="script"/>
<require src="css/app.css" type="css"/>
<require src="html/app.html" type="html"/>
</requires>
</app>
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback