Enable scrolling
Make the checkout scroll to the selected payment or shipping option.
enableScrolling()
Makes the checkout scroll to the selected payment or shipping option after the customer chooses one in the expanded list. Scrolling is off by default.
Arguments
| Parameter | Type | Description | Required |
|---|---|---|---|
| enable | Boolean | A flag saying if scrolling should be enabled or not. Defaults to true. | required |
Implementation example
q1.enableScrolling()