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

feat(pagination-nav): New navigation pagination compionet [v4-bela] #816

Merged
merged 32 commits into from Aug 12, 2017

Conversation

Projects
None yet
2 participants
@tmorehouse
Member

tmorehouse commented Aug 12, 2017

No description provided.

tmorehouse and others added some commits Jul 27, 2017

[pagination-nav] Introduce link-gen prop
Allow user to generate their own HREF string or TO object by specifying a function via `link-gen` property.

The link-gen function is passed a single argument which is the page number
Create pagination-nav.js
Initial test file

tmorehouse added some commits Aug 10, 2017

[pagination-nav] allow custom page button content
Allow user to render custom content (non-html) for page link buttons

added new prop `page-gen` which accepts a function reference.  The function will be passed the page number (indexed starting from 1), and should return a string (html not supported).  If no page-gen function is provided then default content is the page number.

@tmorehouse tmorehouse requested review from pi0, alexsasharegan and mosinve Aug 12, 2017

@tmorehouse tmorehouse added this to the v1.0.0 milestone Aug 12, 2017

@tmorehouse tmorehouse merged commit 3a4272c into 1.x Aug 12, 2017

1 check passed

ci/circleci Your tests passed on CircleCI!
Details

@tmorehouse tmorehouse deleted the pagination-nav branch Aug 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment