Link Action Loader Self Resource

This resource is used to interact with resources of the link action.

Methods

LinkActionParams

Returns the parameters of the link action.

Examples
const firstParameter = __nylaResources.self.linkActionParams[0];
const secondParameter = __nylaResources.self.linkActionParams[1];
AddToCartCb

Returns the line item of the product added to the cart. Warning: This method is only available if used within AddToCart content item.

Examples
__nylaResources.self.addToCartCb()