twinssbc / Ionic2-Calendar

A calendar component based on Ionic framework
https://ionic-calendar-demo.stackblitz.io
MIT License
387 stars 197 forks source link

How do I display Forward and Backward arrows #644

Closed seatechdev closed 1 year ago

seatechdev commented 1 year ago

I have been trying to figure out how do I show the forward and backward arrows on the calendar to navigate to the next or previous, month, week or day. Slider works fine but not very intuitive without any guide.

seatechdev commented 1 year ago

Never mind. Decided to create next and prev functions and stick them on a toolbar. Thanks!

twinssbc commented 1 year ago

The calendar component doesn't have built-in forward and backward arrow. It exposes the Instance method to slide to next and previous time range. How to navigate the calendar depends on your own use case.

seatechdev commented 1 year ago

Thanks! I would recommend adding your comments to the documentation. It is great to have flexibility as you have described.