Reputation: 835
I am very new to frontend development. I have created an ember app which has a feed page. The feed page is mainly consists of images and their associated likes and comments. Now what I want is when I click on images it should open the original size image and its likes and comments (Very much similar to Facebook's feed, when you click on images it opens a new window or card in which all information about it is present). Pinterest has similar behavior. How can I achieve the same thing? I am not very sure where look or start. Please give some examples and demos so that I can have a better understanding.
Upvotes: 1
Views: 35
Reputation: 4434
You can use the ember addon ember-modal-dialog
for a straight forward way to achieve the 'new window' you are referring to. See the demo here. In general, Ember Observer is a good place to check for ember addons - particularly UI components that you can quickly leverage.
Upvotes: 1