{"id":869,"date":"2013-01-10T15:54:25","date_gmt":"2013-01-10T15:54:25","guid":{"rendered":"https:\/\/ibex.tech\/javascript\/?p=869"},"modified":"2022-02-17T07:14:46","modified_gmt":"2022-02-17T07:14:46","slug":"platform-utilities","status":"publish","type":"post","link":"https:\/\/ibex.tech\/javascript\/jquery-mobile\/framework_and_javascript\/platform-things\/platform-utilities","title":{"rendered":"Platform Utilities"},"content":{"rendered":"<p>\n&nbsp;\n<\/p>\n<p>\norientationChangeEnabled\n<\/p>\n<p style=\"margin-left: 40px;\">\nIs the native orientationchange event available?\n<\/p>\n<p>\ngradeA()\n<\/p>\n<p style=\"margin-left: 40px;\">\ntrue if the browser is an A-grade browser in jQuery Mobile&#39;s compatibility chart.\n<\/p>\n<p>\nurlHistory\n<\/p>\n<p style=\"margin-left: 40px;\">\nCollection of pages that were browsed inside jQuery Mobile without a page reload. Every element has pageUrl, title, and transition.\n<\/p>\n<p>\ngetDocumentUrl()\n<\/p>\n<p style=\"margin-left: 40px;\">\nReturns the original document&#39;s URL (the first load).\n<\/p>\n<p>\ngetDocumentBase()\n<\/p>\n<p style=\"margin-left: 40px;\">\nReturns the original document base.\n<\/p>\n<p>\nkeyCode\n<\/p>\n<p style=\"margin-left: 40px;\">\nConstants defining codes for key event handling, includes: ALT, BACKSPACE, COMMAND, COMMAND_LEFT, COMMAND_RIGHT, DELETE, DOWN, UP, RIGHT, LEFT, END, ENTER, ESCAPE, HOME, INSERT, MENU, PAGE_DOWN, PAGE_UP, PERIOD, SHIFT, SPACE, TAB, WINDOWS.\n<\/p>\n<p>\ngetScreenHeight()\n<\/p>\n<p style=\"margin-left: 40px;\">\nGet the current screen&rsquo;s height.\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; orientationChangeEnabled Is the native orientationchange event available? gradeA() true if the browser is an A-grade browser in jQuery Mobile&#39;s compatibility chart. urlHistory Collection of pages that were browsed inside jQuery Mobile without a page reload. Every element has pageUrl, title, and transition. getDocumentUrl() Returns the original document&#39;s URL (the first load). getDocumentBase() Returns the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93],"tags":[],"class_list":["post-869","post","type-post","status-publish","format-standard","hentry","category-platform-things"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/comments?post=869"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/869\/revisions"}],"predecessor-version":[{"id":870,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/posts\/869\/revisions\/870"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/media?parent=869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/categories?post=869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/javascript\/wp-json\/wp\/v2\/tags?post=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}