Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1027637 // hWebKitSayFunction

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2390L/15K).

sS hWebKitSayFunction() {
  ret hjavascript([[
    function say(text) {
      console.log("Saying: " + text);
      window.speechSynthesis.speak(new SpeechSynthesisUtterance(text));
    }
]]);
}

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: 211 / 299
Version history: 3 change(s)
Referenced in: [show references]