码迷,mamicode.com
首页 > Web开发 > 详细

angularjs mobiscroll日历控件

时间:2016-08-12 17:55:24      阅读:1397      评论:0      收藏:0      [点我收藏+]

标签:

<!DOCTYPE html>
<html ng-app="datetimeMinmax">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
        <title>mobiscroll</title>
        <script src="ionic.bundle.min.js"></script>
        <script src="angular-resource.min.js"></script>
        <script src="bindonce.js"></script>
        <script src="mobiscroll.custom-3.0.0-beta4.min.js"></script>
        <link href="mobiscroll.custom-3.0.0-beta4.min.css" rel="stylesheet">
        <script>
        angular.module(datetimeMinmax, [mobiscroll-datetime]).controller(demoController, [$scope, function ($scope) {
            $scope.settings = {
                theme: "android-holo-light",
                min: new Date(2014, 8, 15),
                max: new Date(2024, 8, 14)
            };
        }]);
        </script>
    </head>
    <body>
        <input ng-model="myDate" mobiscroll-date="settings" ng-click="‘datetimeMinmax‘.show()" ng-controller="demoController"/>
    </body>
</html>

 

angularjs mobiscroll日历控件

标签:

原文地址:http://www.cnblogs.com/pumushan/p/5765861.html

(2)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!