Skip to content

Touch helper + Lots of fixes

Compare
Choose a tag to compare
@tannerhodges tannerhodges released this 21 Sep 17:04
· 26 commits to master since this release

Touch Helper

const hasTouched = require('mode-front-end/resources/assets/js/browserDetect/hasTouched');

// Before user touches the screen
console.log(hasTouched()); // false

// After user touches the screen
console.log(hasTouched()); // true
.has-touched {
  /* Touch-only styles, applied *after* user touches the screen */
}

Other Updates Since Previous Release (v2.6.3):

More Details