{ input.focus(); if (value > min) { change(-step); } }} on:mousedown={() => longPress(() => { if (value > min) { change(-step); } })} on:mouseup={() => { clearTimeout(pressTimer); pressed = false; }} >
{@html rtl ? chevronRight : chevronLeft}
(focused = true)} on:focusout={() => (focused = false)} />
{ input.focus(); if (value < max) { change(step); } }} on:mousedown={() => longPress(() => { if (value < max) { change(step); } })} on:mouseup={() => { clearTimeout(pressTimer); pressed = false; }} >
{@html rtl ? chevronLeft : chevronRight}