effect
A function that returns a (cell) output effect defined by the current theme.
static
effect: { (name: string): RenderContext.OutputEffect; readonly INSET: RenderContext.OutputEffect; readonly SHADOW: RenderContext.OutputEffect; readonly ELEVATE: RenderContext.OutputEffect; }
Notes
- Effects can be defined using UITheme.effects.
Related
- uiAn object with functions for creating UI components and other resources.
- interface RenderContext.OutputEffect staticA platform-dependent effect that can be applied to a rendered output element.