opacity()
Sets the opacity of the element.
opacity(opacity: BindingOrValue<number | undefined>): this;
Parameters
- opacity — A value between 0 (transparent) and 1 (opaque).
Return value
The builder instance for chaining.
Related
class ElementBuilder abstractstatic
An abstract base class for UI element builders.
