superRaytin / paginationjs

A jQuery plugin to provide simple yet fully customisable pagination.
http://pagination.js.org
MIT License
912 stars 659 forks source link

Not able to customize pagination (further) #62

Closed insoluzioni closed 5 years ago

insoluzioni commented 6 years ago

I suggest adding this to generateHTML: function(args)

var aClassName = attributes.aClassName;

And also add it to tags when generating pagination. This offers more flexibility, for example, I did this to be able to use Bootstrap styling.

Thanks

superRaytin commented 5 years ago

You can just add className: 'custom-paginationjs' and then overwriting it by using the same css class such as paginationjs-page

sp01109 commented 3 years ago

I think @insoluzioni was referring to <a> tag such as <a href="' + pageLink + '" class="'+aClassName+'">. It is required if someone is going to use bootstrap to styling the pagnitation.