aura:valueRender

Indicates that an app or component has been rendered or rerendered.
This event is automatically fired when an app or component is rendered or rerendered. The aura:valueRender event is handled by a client-side controller. A component can have only one <aura:handler name="render"> tag to handle this event.
<aura:handler name="render" value="{!this}" action="{!c.onRender}"/>

In this example, the onRender action in your client-side controller handles initial rendering and rerendering of the component. You can choose any name for the action attribute.

Note

Note

Setting value="{!this}" marks this as a value event. You should always use this setting for a render event.

The render event is fired after the init event, which is fired after component construction but before rendering.

The aura:valueRender event contains one attribute.

Attribute Name Attribute Type Description
value Object The component that rendered or rerendered.