New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
1 participant
@finnsson
Owner

finnsson commented Aug 25, 2012

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