selectOn String (default "down")

Sets the DOM event used to select the button. Accepts "up" as an alias for touchend, mouseup and MSPointerUp vendor specific events.

By default, buttons are selected immediately after the user presses the button (on touchstart or mousedown or MSPointerDown, depending on the mobile device). However, if the widget is placed in a scrollable view, the user may accidentally press the button when scrolling. In such cases, it is recommended to set this option to "up".


<div data-role="view">
  <ul data-role="buttongroup" data-select-on="up">
    <li>Option 1</li>
    <li>Option 2</li>
    <li>Option 3</li>

  var app = new;
In this article