Class: DeliveryButtonOldVariant

DeliveryButtonOldVariant(btn)

Variation on the DeliveryOptionButton that supports the old PDP widget. Useful for backward compatibility between product page variations.

Constructor

new DeliveryButtonOldVariant(btn)

Parameters:
Name Type Description
btn HTMLElement The button element.
Source:

Extends

Members

option :string

The option value for the button.
Type:
  • string
Overrides:
Source:

Methods

addEventListener(…args)

Wrapper for the native addEventListener method.
Parameters:
Name Type Attributes Description
args any <repeatable>
Arguments to pass to the addEventListener method.
Inherited From:
Source: