Skip to content
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
Closed

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

finnsson opened this issue Aug 25, 2012 · 0 comments
Milestone

Comments

@finnsson
Copy link
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant