useShopEvents
@shopify/shop-minis-platform-sdk / hooks/useShopEvents
useCheckoutSuccessfully()
useCheckoutSuccessfully(
onCheckoutSuccessfully
,deps
):void
Parameters
Parameter | Type |
---|---|
onCheckoutSuccessfully | Callback |
deps | readonly any [] |
Returns
void
useOnMiniAppClosed()
useOnMiniAppClosed(
onMiniAppClosed
):void
Parameters
Parameter | Type |
---|---|
onMiniAppClosed | () => void |
Returns
void
useOnVariantUpdated()
useOnVariantUpdated(
onVariantUpdated
):void
Parameters
Parameter | Type |
---|---|
onVariantUpdated | (variant ) => void |
Returns
void