Skip to main content
Light Dark System

Button Scroll

<et2-button-scroll> | Et2ButtonScroll
Since 23.1

Overview

Up / Down spinner buttons are used to adjust a value by a set amount

Events

Name React Event Description Event Detail
et2-scroll Emitted when one of the buttons is clicked. Check event.detail for direction. 1 for up, -1 for down. example: Add the scroll into an input, then catch the et2-scroll event to adjust the value: handleScroll(e) { this.value = ”″ + (this.valueAsNumber + e.detail * (parseFloat(this.step) || 1)); } CustomEvent

Learn more about events.