jquery.tocify.js icon indicating copy to clipboard operation
jquery.tocify.js copied to clipboard

Feature Request - Refresh/Destroy

Open gfranko opened this issue 11 years ago • 14 comments
trafficstars

Allow users to refresh/destroy the TOC after initialization. This will go out very soon in the next release.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

gfranko avatar Apr 08 '14 19:04 gfranko

Hey Greg,

Love your plugin. Do you have a timeline when you will have this feature release?

Thanks!

pmkhoa avatar May 30 '14 17:05 pmkhoa

I'm trying to wrap up and get this release out the door sometime this weekend (probably Sunday).

gfranko avatar May 30 '14 17:05 gfranko

I'm looking forward to it. Currently, I load the the toc content via ajax, and looking for a way to reinitialize or refresh it so that the navigation will be highlighted correctly. Thanks!

pmkhoa avatar May 30 '14 18:05 pmkhoa

Working on a few different projects at the moment, so I'm hoping to get this out sometime this week.

gfranko avatar Jun 02 '14 08:06 gfranko

Hi Greg, Hope you're doing well. Have you had time to push your updates yet? Thanks!

pmkhoa avatar Jun 09 '14 17:06 pmkhoa

Not yet unfortunately =(

gfranko avatar Jun 09 '14 17:06 gfranko

Greg, Any way to refresh Tocify yet? I'm adding or removing sections based on user input, and want the TOC to update when a new header is added to the page.

jesseschoff avatar Sep 19 '14 23:09 jesseschoff

Hello, I'm also interested by a way to refresh the TOC. When elements are added between the titles, the links don't scroll to the good position.

nono avatar Sep 25 '14 07:09 nono

I will be looking at this today and providing a fix. I'll let everyone know when it is released.

gfranko avatar Sep 25 '14 08:09 gfranko

Sorry that I haven't been able to find time for a fix yet. I"ll try to update this as soon as possible.

gfranko avatar Sep 26 '14 09:09 gfranko

Hi Greg,

Any updates on this? It's the last piece I'm missing for my new project. I have a bunch of "//refresh toc" comments in my functions :P

On Fri, Sep 26, 2014 at 4:35 AM, Greg Franko [email protected] wrote:

Sorry that I haven't been able to find time for a fix yet. I"ll try to update this as soon as possible.

— Reply to this email directly or view it on GitHub https://github.com/gfranko/jquery.tocify.js/issues/56#issuecomment-56939883 .

jesseschoff avatar Oct 07 '14 21:10 jesseschoff

I have added auto-update feature, pull request 71.

https://github.com/gfranko/jquery.tocify.js/pull/71

mubaidr avatar Nov 24 '14 12:11 mubaidr

+1 any plan to get this merged?

sman591 avatar Jun 02 '15 15:06 sman591

Is this now merged? I can't find any code in the PR.

qknight avatar Jan 15 '23 18:01 qknight