wc.render.getRefreshControllerById (id)

The wc.render.getRefreshControllerById function returns the refresh controller declared by the specified identifier. If the refresh controller is not declared, the function returns undefined.

Example

wc.render.getRefreshControllerById("editShippingAdddressController");

Parameters

id
(String) The refresh controller ID.