Opened 11 years ago
Closed 11 years ago
#8013 closed enhancement (worksforme)
Make accoridion work with more javascript frameworks
Reported by: | hviid | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.accordion | Version: | 1.8.17 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Some frameworks, like angularjs uses attributes on tags to do iteration of elements, see: http://docs.angularjs.org/#!/api/[email protected]:repeat
The Accordion iterates two elements <h3> and <div>, without them being wrapped in a parent, if this were changed the jQuery accordion could be used with 3rd party templating, which would be nice, since jQuery doesn't have any official templating atm.
Note: See
TracTickets for help on using
tickets.
Works for me: http://jsbin.com/osujel/edit