updatePrice
updatePrice(price)
updatePrice(price)button.updatePrice(price)Parameter
Type
Required
Description
Usage
const button = new ButtonDynamicPrice({
price: 50.00,
apiKey: "your_api_key",
title: "Buy Now - $50.00"
});
// Update price
button.updatePrice(75.00);
button.button.textContent = "Buy Now - $75.00";Last updated
Was this helpful?