I just started using Ionic a few days ago and I have 2 questions that might get a quick answer.
First I’d like to know if the ion slide loads its content on the page load or when it is displayed. If the answer is “on page load” is there a way to implement a lazyload-like slide system easily ?
My second question is also very simple. I’m trying to put a background image to some of my slides with the scss of that page. I’m using the “background: url()” property but it doesn’t seem to work. I tried several options, let’s say my paths are as follow :
I figured my url should be “./pictures/backgrounds/slidea.png” however this doesn’t seem to work, I guess this is because the sass is then compiled into css, and the whole app gets a new structure. So what should the path be in my case?
N.B.: Also for whatever reason the slides preview (ionic serve -l) doesn’t work on Android, but it works fine for the iOS preview and it runs normally on my device (ionic run android), so it might just be a bug.