Class: ScentButton

ScentButton(btn)

Option button for scent options.

Constructor

new ScentButton(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: