You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The annyang.trigger event should pass a command and be able to accept tags, etc even (especially) when annyang is not listening. When speech isn't available an input field is normally shown, and it would be nice to have a trigger event that would parse it the exact same as a speech command. This would provide a great deal of continuity to the end user.
Current Behavior
Possible Solution
annyang.trigger('go to *tag') function(tag) {
var str = tag;
str = str.replace(/\s+/g, "");
window.open("https://" + str);
},
Steps to Reproduce (for bugs)
Context
Your Environment
Version used:
Browser Name and version:
Operating System and version (desktop or mobile):
Link to your project:
The text was updated successfully, but these errors were encountered:
Expected Behavior
The annyang.trigger event should pass a command and be able to accept tags, etc even (especially) when annyang is not listening. When speech isn't available an input field is normally shown, and it would be nice to have a trigger event that would parse it the exact same as a speech command. This would provide a great deal of continuity to the end user.
Current Behavior
Possible Solution
annyang.trigger('go to *tag') function(tag) {
var str = tag;
str = str.replace(/\s+/g, "");
window.open("https://" + str);
},
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: