-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Pagination 'direction-links' to support glyphicons #4130
Comments
Any reason why you wouldn't just use |
In a small pagination they are really small, and not good looking at all. |
The problem is, your suggestion is tied too heavily to one particular implementation. What if someone wants to use Font Awesome icons for example? The best solution is to allow |
We could potentially add unique classes to the pagination first, last, next, previous elements that would allow people to use the css content property to set the icon, so the pagination button would look like so:
and the class would look something like:
|
That is also a good idea - I was thinking about that too, it would make it more flexible to style. |
- Add classes to allow the user to target the styles of component with more specificity Closes angular-ui#4130
I opened a PR with classes added to each of the |
- Add classes to allow the user to target the styles of component with more specificity Closes angular-ui#4130
just by providing a string like
glyphicon-chevron-right
the directive should render a<span class="glyphicon glyphicon-chevron-right"></span>
instead of a simple character or string.The text was updated successfully, but these errors were encountered: