How to use the modernizr.speechrecognition function in modernizr

To help you get started, we’ve selected a few modernizr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SeedVault / Hadron / src / hadron.js View on Github external
checkDeviceCapabilites() {
      this.hasWebGL              = Modernizr.webgl;
      this.hasWebGLExtensions    = Modernizr.webglextensions;
      this.hasSpeechSynthesis    = Modernizr.speechsynthesis;
      this.hasSpeechRecognition  = Modernizr.speechrecognition;
      this.hasBatteryAPI         = Modernizr.batteryapi;
      this.hasLowBattery         = Modernizr.lowbattery;
      this.hasLowBandwidth       = Modernizr.lowbandwidth;
    }
github tvly / tvly-web / src / view / ListView.vue View on Github external
data() {
    return {
      avatar: config.sponsorLogoUrl,
      detail: getDetail(),
      filter: '',
      appName: config.name,
      searching: false,
      withIP: false,
      uid: '',
      legacyUrl: config.legacyUrl,
      voidSearch: Modernizr.speechrecognition,
      background,
    };
  },
  computed: {
github tvly / tvly-web / src / view / ListView.vue View on Github external
data() {
    return {
      sidenav: false,
      modal: false,
      avatar: config.sponsorLogoUrl,
      detail: getDetail(),
      filter: '',
      appName: config.name,
      searching: false,
      withIP: false,
      uid: '',
      navBtn: null,
      legacyUrl: config.legacyUrl,
      voidSearch: Modernizr.speechrecognition,
      background,
    };
  },
  methods: {