In this example, an instance of Uize.Widget.Bevel
is created and is wired to a div that has an image set for its background. The widget overlays a bevel effect on top of the image. Two instances of Uize.Widget.Bar.Slider
are created and their values are wired to control the bevel widget's thickness
and opacity
properties, respectively. Play around with the two sliders to see the effect.