Enhancement examples

Recently I started using chap-links-library in a project, more specifically its timeline. So far it has shown an immense flexibility without which none of what I’m doing would be possible (especially given the time constraints).

I’m submitting a contribution because when I was implementing my project’s mockups I lost a little bit of time finding out how to implement the functionality in a custom control’s area. Turns out it was quite easy, but I believe it would have been faster if I had an example and if the move and zoom functions were listed in the overview documentation (I do realize they are in the API documentation, but that was my last resort, since I did not know if they existed or if I was supposed to use another function). In fact, I found out the functions existed because of example 27 (that presents some controls inside the timeline) and by looking for the control/buttons’ classes in the source code.

I believe this example could save some time for others in similar circumstances (with time constraints that prevent them from thoroughly reading the available documentation and with the need for a custom area of controls for the timeline).

Thank you for your time :)