Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (7 sloc) 679 Bytes

Dynamic jQuery UI Tabs with Backbone

Just what it says on the tin.

:hard_breaks off

I’m doing some work with jQuery tabs, and ran into the problem of dynamically adding new tabs and removing old ones. Turns out I was ignoring the existing jQueryUI API for tabs, much thanks to this blog post.

So the question became, “How to properly set up Backbone.js views for this?”

This code is my answer.

Here’s my blog post about this and a demo.