wc.render.getContextById (id)

The wc.render.getContextById function returns the render context declared by the specified identifier. If the render context is not declared, the function returns undefined.

Example

wc.render.getContextById("editShippingAddressContext")

Parameters

id
(String) The identifier for the returned render context.