Support API

Framework7 also comes with features detection library. After you initialize your app you can access object which contains information about supported features: boolean. Contains true if browser supports Touch events (touchstart, touchmove, touchend)

Access to Support object without/before initialization

It is also possible to access this Support object with all its parameters using prototype:

var support =;
if (support.touch) {
  console.log('Browser has touch event')