title: Take an action on first or last click of repeatButton
body: <p>How can I specify an action on the first or last click of a <code>RepeatButton</code>?</p>
  
  <p>Example:</p>
  
  <p>A label is initially set to 0</p>
  
  <p>While <code>RepeatButton</code>is pressed, value is incremented continuously</p>
  
  <p>When <code>RepeatButton</code>is left, the value resets to 0</p>
  
  <p>alternatively, set the counter to 0 immediately when the button is pressed, and start incrementing</p>