twinssbc / Ionic-Calendar

A calendar directive for Ionic framework
http://twinssbc.github.io/Ionic-Calendar/demo
MIT License
159 stars 73 forks source link

Add sync of scroll position across slides #27

Open Manduro opened 8 years ago

Manduro commented 8 years ago

Hi,

I've just added two nice features to my fork which you might want to know about:

  1. It adds syncing of scroll position across slides in the weekview. When you change weeks the position stays the same.
  2. It also adds a scrollY setting which allows to set an initial scroll position. This allows to start the view at for example 8 am instead of 0 am.

You can look at the code here: https://github.com/Manduro/Ionic-Calendar/commit/2d6f02678ed84d03076c14dcf4ec961614967b92

As I've also made some other changes to your plugin I can't make a nice pull request. Plus I'm only using the weekview so I haven't implemented it for day view where it could also be useful.

twinssbc commented 8 years ago

@Manduro Sounds like useful features, I will take a look. Thanks!