Ionic 2 calendar

Can you please tell me how to block swipe 2 months before this month and 10 months after this month.
Assume like now we are in April month , from calendar we can swipe to previous side up to January this year and swipe to forward side up to march next year.
can you please tell me how block swiping after this months in ionic 2 calendar.

Thank you

And what is this

you are talking about?

I am talking about ionic 2 calendar.