LightningWeb.DynamicComponent (Lightning v2.13.5)

View Source

Provides a type to be used in assigns to denote a dynamic component

Summary

Functions

Checks whether the given value can be rendered as a dynamic component

Types

t()

@type t() :: %LightningWeb.DynamicComponent{args: map(), function: fun()}

Functions

dynamic_component?(val)

@spec dynamic_component?(any()) :: boolean()

Checks whether the given value can be rendered as a dynamic component