Skip to content

Configurable maximum pages to display #53

@alphafitch

Description

@alphafitch

Firstly, this is a really great component!

Whilst using it I have noticed that on devices with smaller screens it would be nice to avoid the wrapping by having an option to set the maximum number of pages in the page list.

See example screenshot of wrapping, using Chrome with size set to 320x640 below.

In this scenario if you could set a parameter in the directive, max-pages-to-show="3" to only show < 1, 2, 3, ... > for mobile, it would avoid the wrapping.

I will try and experiment to see what's possible myself, but I thought I'd put in a feature issue as you know the code better!

screen shot 2016-06-10 at 13 06 42

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions