实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<html>
2
  <head>
3
    <meta charset="utf-8">
4
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
5
    <title>手册网基础教程(shouce.ren)</title>
6
    <link href="/static/example/ionic.min.css" rel="stylesheet">
7
    <script src="/static/example/ionic.bundle.min.js"></script>
8
    <script type="text/javascript">
9
    
10
    angular.module('starter', ['ionic'])
11
12
    .run(function($ionicPlatform) {
13
      $ionicPlatform.ready(function() {
14
        // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
15
        // for form inputs)
16
        if(window.cordova && window.cordova.plugins.Keyboard) {
17
          cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
18
        }
19
        if(window.StatusBar) {
20
          // org.apache.cordova.statusbar required
21
          StatusBar.styleDefault();
22
        }