samedi 16 avril 2016

Ember Responsive iFrame component

I'm embedding a PPT into my app, so I'd like a responsive iFrame. Can't get this working with the CSS based approached I've looked at here.

I'm thinking the best way would be just to make a simple component with height and width properties. Can I make these computed properties / observers that listen and update on the browser resize?

Or would I need to create a resize event and update the properties on the event?

A little code example would be much appreciated!

Thanks




Aucun commentaire:

Enregistrer un commentaire