web / usePayPalVisibility
Function: usePayPalVisibility() ​
usePayPalVisibility(
type):object
Defined in: apps/web/app/composables/usePayPal/usePayPalVisibility.ts:4
Parameters ​
type ​
string
Returns ​
object
getVisibility() ​
getVisibility: (
key) =>boolean
Parameters ​
key ​
PayPalVisibilityLocations | undefined
Returns ​
boolean
setState() ​
setState: (
settings) =>void
Parameters ​
settings ​
PayPalButtonSettings | null
Returns ​
void
showOnCartPage ​
showOnCartPage:
Ref<boolean,boolean> =false
showOnCheckoutPage ​
showOnCheckoutPage:
Ref<boolean,boolean> =false
showOnGuestLoginPage ​
showOnGuestLoginPage:
Ref<boolean,boolean> =false
showOnItemPage ​
showOnItemPage:
Ref<boolean,boolean> =false
showOnQuickCheckout ​
showOnQuickCheckout:
Ref<boolean,boolean> =false