Skip to content

Improve Component - Pagination #67

@langdonx

Description

@langdonx

I propose we stop we misusing anchors (href="#" ng-click="$event.preventDefault") in the pagination component. If the pagination-on-page-change binding is used, we should instead use <button class="btn btn-link"> (assuming it's visually the same).

It would also be ideal if we were able to support real anchors (with href). I'm thinking we would need to create a new binding that allowed for some kind of template to be passed in for the href attribute.
Something like pagination-href-template="'/path/to/new/page?page={pageNumber}'".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions