Closed sonasingh46 closed 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
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. :)
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.