iron-image icon indicating copy to clipboard operation
iron-image copied to clipboard

feature request: iron-image should implement iron-resizable-behavior

Open valdrinkoshi opened this issue 9 years ago • 2 comments

See https://github.com/PolymerElements/paper-dialog/issues/86 Ideally, an iron-image that has width and height set to auto should call notifyResize() when the image is loaded.

valdrinkoshi avatar Jan 21 '16 18:01 valdrinkoshi

Actually, if they're a percentage, they will change size if the container changes size; maybe that's ok given the container then should ideally implement iron-resizable-behavior?

bicknellr avatar Jan 23 '16 00:01 bicknellr

That would require its container to set the size (min/max), and there are cases where we want the image to take as much space as possible and notify the parents with a notifyResize (e.g. http://jsbin.com/rufifi/4/edit?html,output)

valdrinkoshi avatar Jan 23 '16 01:01 valdrinkoshi