0

For example can I add -webkit-backdrop-filter: saturate(1.8) blur(20px); on a Layer to quickly simulate background blur?

Panos Spiliotis
  • 801
  • 1
  • 9
  • 18

1 Answers1

1

Yes, you can use a Layer's style property to set custom css styles. Example:

layerB = new Layer
    image: Utils.randomImage()

layerA = new Layer

layerA.style["-webkit-backdrop-filter"] = "saturate(1.8) blur(20px)"
Niels
  • 771
  • 5
  • 5