Angular UI month picker

后端 未结 7 2315
日久生厌
日久生厌 2020-12-15 18:34

I am trying to use angular-ui-datepicker as a month picker. But not able to configure it, tried it all. Here is the PLUNKER.

I tried to set the modes as



        
7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 19:20

    You can try multiple-month-picker

    It helps you to select multiple months. It is an AngularJS widget so it should come pretty handy to you.

    I've mentioned below how to implement it in your project.

    HTML

    
    

    JS

    //Initiate your app module and inject 'mmp-morfsys'
    var app = angular.module('app-name', ['mmp-morfsys']);
    

    As easy as that!!

提交回复
热议问题