You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the bgset plugin I'd like to be able to lazyload a background image, with a linear-gradient overlay. But the background-image attribute just gets overwritten with a url, rather than what I'd like at the end of the day:
I'd be willing to submit this as a PR, but my guess is this is not a robust enough solution. The spec for the background-image attribute allows for multiple comma separated images, whether they be urls or various other things, such as a gradient. There is potentially a use case here for multiple lazyloaded URLs, which my solution doesn't support.
Using the bgset plugin I'd like to be able to lazyload a background image, with a linear-gradient overlay. But the
background-image
attribute just gets overwritten with a url, rather than what I'd like at the end of the day:I can put that as the initial value, but bgset overwrites it without the linear-gradient, resulting in:
I'll look for my own solution using js api events, but it would be nice to have a built in solution.
The text was updated successfully, but these errors were encountered: