ReactiveComponent
A reactive component is a component that can be refreshed. This is useful for rendering dynamic content.
See API.reactive
Constructors
new ReactiveComponent()
new ReactiveComponent(
api
,_render
,initialArgs
):ReactiveComponent
Parameters
Parameter | Type |
---|---|
|
|
|
|
|
|
Returns
Defined in
jsEngine/api/reactive/ReactiveComponent.ts:21
Methods
refresh()
refresh(…
args
):Promise
<void
>
Refreshes the component by rerunning the render function with the arguments passed into this function.
Parameters
Parameter | Type | Description |
---|---|---|
… |
|
Returns
Promise
<void
>