Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Documented isActive() #3704

Merged
merged 1 commit into from
Dec 9, 2017
Merged

Documented isActive() #3704

merged 1 commit into from
Dec 9, 2017

Conversation

jwschram
Copy link

@jwschram jwschram commented Dec 4, 2017

Documented the helper method to provide support for the edge case of detecting the currently active Timeline from a collection of Timelines.

Why?
I hit an edge case using Timelines in which a page contained a collection of them all using the clickToUse feature. This meant that only one Timeline was going to be active at a given time. I wanted to perform a specific operation using the currently active Timeline. After poking around I found isActive().

I realise this is likely meant to be a helper method, but given its usefulness in my case I felt I should just document it instead.

Documented the help method to provide support for the edge case of detecting the currently active Timeline from a collection of Timelines.
Copy link
Contributor

@yotamberk yotamberk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks you!

@yotamberk yotamberk merged commit 23858aa into almende:develop Dec 9, 2017
@jwschram jwschram deleted the develop branch February 12, 2018 06:00
mojoaxel pushed a commit to visjs/vis_original that referenced this pull request Jun 9, 2019
Documented the help method to provide support for the edge case of detecting the currently active Timeline from a collection of Timelines.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants