wcRenderContext.addRefereshAreaId (id, refreshAreaId)

The wcRenderContext.addRefereshAreaId function adds a refresh area ID to an existing render context.

Example

wcRenderContext.addRefreshAreaId("paymentContext", "orderTotalAmountArea");

Parameters

id
(String) The unique ID of the new refresh area.
refreshAreaId
(String) The unique ID of the refresh area.