strings describing current location & visible track list (for navigateTo and showTracks)
Reported by Ian Holmes | June 12th, 2009 @ 05:09 PM
It occurs to me that an obvious rounding-out of the API is a
function (or pair of functions) to export
(1) a string describing the current location (for navigateTo) (2) a
string describing the set of currently visible tracks (for
showTracks)
I realize that cookies achieve this, but since I can deep-link to those two things from the CMS, it makes sense that the CMS should be able to query JBrowse, so that it can offer a "bookmark" button of some kind (in the case of my simple TWiki plugin, this would create a new wiki page, but obviously each CMS would have its own way of arranging bookmarks)
Comments and changes to this ticket
-
Mitch June 23rd, 2009 @ 06:15 PM
- State changed from new to resolved
The Browser class now has methods for this, and constructor arguments for setting the track list and location.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
AJAX Genome Browser