mharris717 / ember-cli-pagination

Pagination Addon for Ember CLI
MIT License
272 stars 116 forks source link

Not Able to Display Page Number #239

Closed sonasingh46 closed 6 years ago

sonasingh46 commented 6 years ago

I am using following :
``{{#each pagedContent as |account|}}

{{account.name}}

{{/each}}

{{page-numbers content=pagedContent}}``

If i do not write '{{page-numbers content=pagedContent}}' data shows up(of current page) but page number is not displayed. If I write '{{page-numbers content=pagedContent}}' nothing is rendered ... shows some error in console.

broerse commented 6 years ago

This seems OK. Does your code look something like this?

https://github.com/broerse/ember-cli-blog/blob/master/app/components/blog-posts.js

sonasingh46 commented 6 years ago

Thankyou for responding @broerse I found my problem and fixed. Actually i generated my own template page-numbers.hbs so as to customize it and then forgot to write there and then I was expecting the default page numbers to be displayed. Sorry about this. Now everything is working fine and I am able to customize the template also. :)