X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/output/Ext.env.OS.js?ds=sidebyside diff --git a/docs/output/Ext.env.OS.js b/docs/output/Ext.env.OS.js new file mode 100644 index 00000000..34a5c224 --- /dev/null +++ b/docs/output/Ext.env.OS.js @@ -0,0 +1,102 @@ +Ext.data.JsonP.Ext_env_OS({ + "tagname": "class", + "name": "Ext.env.OS", + "doc": "
Provide useful information about the current operating system environment. Access the global instance stored in Ext.os. Example:
\n\nif (Ext.os.is.Windows) {\n // Windows specific code here\n}\n\nif (Ext.os.is.iOS) {\n // iPad, iPod, iPhone, etc.\n}\n\nconsole.log(\"Version \" + Ext.os.version);\n
\n\n\nFor a full list of supported values, refer to: Ext.env.OS.is
\n", + "extends": null, + "mixins": [ + + ], + "alternateClassNames": [ + + ], + "xtype": null, + "author": null, + "docauthor": null, + "singleton": false, + "private": false, + "cfg": [ + + ], + "method": [ + { + "tagname": "method", + "name": "is", + "member": "Ext.env.OS", + "doc": "A \"hybrid\" property, can be either accessed as a method call, i.e:
\n\nif (Ext.os.is('Android')) { ... }\n
\n\n\nor as an object with boolean properties, i.e:
\n\nif (Ext.os.is.Android) { ... }\n
\n\n\nVersions can be conveniently checked as well. For example:
\n\nif (Ext.os.is.Android2) { ... } // Equivalent to (Ext.os.is.Android && Ext.os.version.equals(2))\n\nif (Ext.os.is.iOS32) { ... } // Equivalent to (Ext.os.is.iOS && Ext.os.version.equals(3.2))\n
\n\n\nNote that only major component and shortVersion\nvalue of the version are available via direct property checking.
\n\nSupported values are: iOS, iPad, iPhone, iPod, Android, WebOS, BlackBerry, MacOSX, Windows, Linux and Other
\n", + "params": [ + { + "type": "String", + "name": "value", + "doc": "The OS name to check
\n", + "optional": false + } + ], + "return": { + "type": "Boolean", + "doc": "\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/env/OS.js", + "linenr": 39, + "html_filename": "OS.html", + "href": "OS.html#Ext-env-OS-method-is", + "shortDoc": "A \"hybrid\" property, can be either accessed as a method call, i.e:\n\nif (Ext.os.is('Android')) { ... }\n\n\n\nor as an obj..." + } + ], + "property": [ + { + "tagname": "property", + "name": "name", + "member": "Ext.env.OS", + "type": "String", + "doc": "Read-only - the full name of the current operating system\nPossible values are: iOS, Android, WebOS, BlackBerry, MacOSX, Windows, Linux and Other
\n", + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/env/OS.js", + "linenr": 68, + "html_filename": "OS.html", + "href": "OS.html#Ext-env-OS-property-name", + "shortDoc": "Read-only - the full name of the current operating system\nPossible values are: iOS, Android, WebOS, BlackBerry, MacOS..." + }, + { + "tagname": "property", + "name": "version", + "member": "Ext.env.OS", + "type": "Ext.Version", + "doc": "Read-only, refer to Ext.Version
\n", + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/env/OS.js", + "linenr": 75, + "html_filename": "OS.html", + "href": "OS.html#Ext-env-OS-property-version" + } + ], + "event": [ + + ], + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/env/OS.js", + "linenr": 1, + "html_filename": "OS.html", + "href": "OS.html#Ext-env-OS", + "cssVar": [ + + ], + "cssMixin": [ + + ], + "component": false, + "superclasses": [ + + ], + "subclasses": [ + + ], + "mixedInto": [ + + ], + "allMixins": [ + + ] +}); \ No newline at end of file