Basket
Commands
open
openinstance.basket.open();close
closeinstance.basket.close();getState
getState// You can either await the result of the command
const result = await instance.basket.getState();
// OR pass a callback
instance.basket.getState((result) => {
// YOUR CODE HERE
});Property
Type
Description
addProduct
addProductProperty
Type
Description
Events
onOpened
onOpenedonClosed
onClosedonToggled
onToggledonProductAdd
onProductAddProperty
Type
Description
Last updated