Skip to content

Angular directive to create a dropdown or inline datepicker using the Javascript agnostic library Kalendae.

License

Notifications You must be signed in to change notification settings

heyunxia/angular-kalendae

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angular-kalendae

Angular directive to create a dropdown or inline datepicker using the Javascript agnostic library Kalendae.

angular demo mode='multiple':

  1. include module:
  var App = angular.module('app', ['Kalendae']);
  1. using directive in html:
  <div id="kalendaeDiv" style="width:175px; height:175px;" kalendae ng-model="constData.kalendaeDivVal"
        callback="confirm()"
        mode='multiple'> </div>
  1. in your controller define confrim function and variable:
  $scope.constData = {
    kalendaeDivVal: "2017-07-12, 2017-07-14" // init values
  };
  
  $scope.confirm = function (){ //callback after selected date
    console.log( $scope.constData );
  }

About

Angular directive to create a dropdown or inline datepicker using the Javascript agnostic library Kalendae.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%