Should be possible to route to custom widgets (accordions) #16

Closed
finnsson opened this Issue Aug 25, 2012 · 0 comments

Projects

None yet

1 participant

@finnsson
Owner

It is possible to create custom widgets that jack into the pager-system.
The page-binding (pager.Page-class) is possible to extend at multiple points.

One custom widget (page-accordion-item) is already implemented.

<div data-bind="page: {id: 'employee'}">
    <div data-bind="page-accordion-item: {id: 'zoidberg'}">
        <a href="#employee/zoidberg">Dog</a>
        <div>Zoidberg Information</div>
    </div>
    <div data-bind="page-accordion-item: {id: 'hermes'}">
        <a href="#employee/hermes">Cat</a>
        <div>Hermes Information</div>
    </div>
</div>
@finnsson finnsson closed this Aug 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment