View Source LightningWeb.DynamicComponent (Lightning v2.11.1)

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

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

Functions

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

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