kevinoleary19 / Angular-2-Datepicker

A minimalist datepicker inspired by Google's material design
70 stars 71 forks source link

It is possible to call an inline version? #40

Open juansaab opened 7 years ago

juansaab commented 7 years ago

Hello,

I'm integrating your component on an Ionic app. I was wondering if it is possible to add an attribute to make it inline.

Also the option of disable some dates would be very appreciated.

Thanks.

kevinoleary19 commented 7 years ago

Hey @juansaab.

What do you mean by inline? like display: inline-block?

Would you want to disable a range of dates, or a select few? Curious if this functionality would be more of you passing in a list of disabled dates, or a list of ranges that are disabled.

wirthjohannes commented 7 years ago

I think he means a version where the calendar is not in a pop-up but is shown all the time.

If there would be a possibility to do this, I'd appreciate this too ;)

juansaab commented 7 years ago

Hello. Actually I did change it to allow inline mode (showing all the time). It is just a matter of setting the visibility property of the datepicker to true but it would be good to link it to a parameter.

kevinoleary19 commented 7 years ago

ahh right. yup I can add that to the api @jojowi @juansaab :)