renderView()

The renderView() function (client-side) updates the product interface with the most recent data. This function is useful to reflect changes applied by actions when setting question and answers in asynchronous code.

Note:

If your scripts includes asynchronous actions that update the product interface in multiple points of the code, use scopeApply() instead of renverView() to avoid updating the product interface multiple times consecutively.

Syntax

Use this syntax for the renderView() function:

            renderView(); 

          

Return Value

The renderView() function returns undefined.

Parameters

The renderView() function doesn't require any parameters.

Related Topics

General Notices