Disable swipe in mobile browser

  • Hi,

    Here one possibility:

    Code
    <control usercontrol="off" devices="mobile.or.tablet" />

    But better use the onavailable event of the gyro plugin to disable the normal control only when they gyro control is really available:

    Code
    <events gyro_onavailable="set(enabled,true); set(control.usercontrol,off);" />

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!