1.0.7 • Published 4 years ago

autospeaker v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago