Libraryless. Click here for Pure Java version (2390L/15K).
1 | sS hWebKitSayFunction() {
|
2 | ret hjavascript([[ |
3 | function say(text) {
|
4 | console.log("Saying: " + text);
|
5 | window.speechSynthesis.speak(new SpeechSynthesisUtterance(text)); |
6 | } |
7 | ]]); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027637 |
| Snippet name: | hWebKitSayFunction |
| Eternal ID of this version: | #1027637/4 |
| Text MD5: | ae875e0765973e3633020a5f03f62274 |
| Transpilation MD5: | 368721a0d11ccf5c65d0e7b6e9f5c9e1 |
| Author: | stefan |
| Category: | javax / html |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-27 22:24:34 |
| Source code size: | 201 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 498 / 635 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |