User Tools

Site Tools


en:wiki:2.-desarrollo-app:2.3.-codigo:c.-eventos:18-onlong-press:start

ONLONGPRESS in type="B" Event


Making an action after holding down the button during a period of time.

Example:

  <prop type=”B” pon onlongclick=”funcionJavascript();”.


Dynamic example with the bind:

  ui.getView(self).bind(“MAP_BOTON”, “onlongclick”, function() {
              ui.showToast(“se ha hecho long click”);
 });
en/wiki/2.-desarrollo-app/2.3.-codigo/c.-eventos/18-onlong-press/start.txt · Last modified: 2018/02/28 13:49 by patricia