Documentación Plataforma ByXOne
Documentación Plataforma ByXOne
  • Translations of this page
    • es
    • en
  • Log In

  1. You are here
  2. Home
  3. en
  4. wiki
  5. 2.-desarrollo-app
  6. 2.3.-codigo
  7. c.-eventos
  8. 18-onlong-press
  1. Trace
  2. publicar_version
  3. 18-onlong-press

Sidebar
SEARCH

INDEX
  • 1.-tecnologia-xone
  • 2.-desarrollo-app
  • 3.-servidor
  • 4.-cliente
  • 5.-miscelanea
  • Share via
    • Share via...
    • Twitter
    • LinkedIn
    • Facebook
    • Pinterest
    • Telegram
    • WhatsApp
    • Yammer
    • Reddit
    • Teams
  • Recent Changes
  • Send via e-Mail
  • Print
  • Permalink

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”);
 });
Documentación Plataforma ByXOne

Documentación Plataforma ByXOne


cc by nc sa

Except where otherwise noted, content on this wiki is licensed under the following license:
CC Attribution-Noncommercial-Share Alike 4.0 International