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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!