View Source Shino.UI.GradientMask (shino v0.2.0-alpha.1)

Provides gradient mask related components.

Summary

Functions

Renders a gradient mask.

Functions

Renders a gradient mask.

Examples

<.gradient_mask side="left" />
<.gradient_mask side="right" />
<.gradient_mask side="top" />
<.gradient_mask side="down" />

Attributes

  • side (:string) (required) - Must be one of "left", "right", "top", or "bottom".
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block