Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am trying to have an AngularUI datepicker on my page. All is good, but i want to add custom css on certain dates based on results of webservice.

My datepicker looks like this:

<div ng-controller="DatepickerDemoCtrl">
    <div style="display:inline-block; min-height:290px;">
        <datepicker ng-model="dt" min-date="minDate" show-weeks="true" class="well well-sm" date-disabled="disabled(date, mode)"></datepicker>
    </div>
</div>

Pretty simple actually.

In jQueryUI datepicker in the beforeShowDay i would have a function that could return a disabled state, a custom tooltip and a custom class for the specific date. Is there any similar behaviour with this datepicker?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.