blossom icon indicating copy to clipboard operation
blossom copied to clipboard

Surfaces should support a backgroundImage property

Open hvgotcodes opened this issue 12 years ago • 1 comments

Right now it's a lot of work to get an image into a view. Erich had talked about adding support for background images view a backgroundImage property.

hvgotcodes avatar Mar 10 '12 21:03 hvgotcodes

Now that Blossom no longer requires the native runtimes on mobile, we can do a much more comprehensive background image implementation that takes advantage of the new CSS3 capabilities.

In the meantime, you can override didCreateElement: on your surface and manually modify the passed element's style property to include the background images.

erichocean avatar Jun 06 '12 21:06 erichocean