Skip to content
forked from rainke/ng-date

基于angular的移动端日期选择插件

License

Notifications You must be signed in to change notification settings

murphysking/ng-date

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng-date

基于angular的移动端日期选择插件

##说明

    <script src="../js/angular.js"></script>
    <script src="../js/angular-date.js"></script>

通过angular.module('app', ['ng-date'])引入插件。 html

<input type="text" ng-model="config" ng-click="open()" readonly>

javascript

$scope.config = '2016-6-21';
$scope.open = function() {
    // console.log(this)
    var p = datePicker.open($scope.config);
    p.then(function(s) {
        $scope.config = s
    })
};

About

基于angular的移动端日期选择插件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 74.5%
  • HTML 25.5%