Skip to content
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

DataPager styling & templating #1837

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomasherceg
Copy link
Member

@tomasherceg tomasherceg commented Jul 12, 2024

DataPager did not have a way to provide custom templates for page numbers, and there was no way to apply CSS classes or other attributes on inner <li> and <a> / <span> elements.

However, there is a bug here - when I use ListItemClass instead of ListItemclass, the attribute is rendered as Class and is not combined with Knockout JS binding css: { "class": something }.

It can be reproduced in ControlSamples/DataPager/DataPagerTemplates sample by changing the casing.

@tomasherceg tomasherceg marked this pull request as draft July 12, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant