1.0.7 • Published 5 years ago

autospeaker v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago
 <!-- let fbSpeaker = new FBSpeaker({
        isKeyWord: true,
        siteList: ['启动', '电网']
    });
    fbSpeaker.init();

    fbSpeaker.addCommands([{
        indexes: ["打开电网"],
        action: function (i) {
            // i = index of the recognized option
            console.log(i);
            alert('触发');
        }
    }]);
   
    fbSpeaker.addCommands([{
        indexes: ["打开新建监控"],
        action: function (i) {
            // i = index of the recognized option
            console.log(i);
            alert('触发');
        }
    }]);
    fbSpeaker.addCommands([{
        indexes: ["开始"],
        action: function (i) {
            // i = index of the recognized option
            console.log(i);
            alert('触发2');
        }
    }]);
    fbSpeaker.addCommands([{
        indexes: [ "你好"],
        action: function (i) {
            // i = index of the recognized option
            console.log(i);
            alert('触发3');
        }
    }]);



    function aa() {
        fbSpeaker.start();
    }

    function end() {
        fbSpeaker.stop()
    } -->
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago