Form backgroundImage


#1

can we change form.style.backgroundImage at runtime?

Thanks
Teo


#2

Yes. See the Background sample.

Form1.style.backgroundImage="url(https://www.appstudio.dev/images/lavalamp.gif)"

#3

if the image files are in local.
I have added an images folder into project folder as well as manifest
but it is not working in runtime

Thanks
Teo


#4

It will be something like this:

Form1.style.backgroundImage="url(images/lavalamp.gif)"

Make sure you have ‘images’ in your manifest property so it gets deployed with your app.