Class: DeliveryOptionButton

DeliveryOptionButton(btn)

Wrapper class for the delivery option buttons. Exposes the option property which is used to create the payload.

Constructor

new DeliveryOptionButton(btn)

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

Classes

DeliveryOptionButton

Members

option :string

The option value for the button.
Type:
  • string
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.
Source: