Skip to main content

As Component

An expression editor function that casts an instance as a component.

Updated over 3 weeks ago

Overview

This function lets you cast (treat) an instance of a component as a component so that you can access the states and variables of the component.


Parameters

asComponent(component)

Component

The component instance to cast.

Did this answer your question?