hsuanxyz / ion2-calendar

📅 A date picker components for ionic2 /ionic3 / ionic4
https://hsuanxyz.github.io/demo/ion2-calendar/
MIT License
555 stars 278 forks source link

Help Wanted: Can I get an example of DaysConfig used inside CalendarComponentOptions? #213

Open thanveerahamed opened 6 years ago

thanveerahamed commented 6 years ago

I am trying to write an application with CalendarComponentOptions. Nothing happens when I put below piece of code. I see 14 Nov is neither disabled nor displays any text below it.

Help is appreciated!!

<ion-calendar [(ngModel)]="dateMulti" (onChange)="onChange($event)" [options]="optionsMulti" [format]="'YYYY-MM-DD'">

optionsMulti: CalendarComponentOptions = { pickMode: 'multi', daysConfig: [{ date: new Date(2018, 11, 14), subTitle: 'Dummy title' , marked: true, disable: true }] };

abhismvdu54 commented 5 years ago

Any Help is very much appreciated. I am also trying to disable the all days in the start wee. Don't know how to do it... Please help