UNPKG

@huluvu424242/honey-webcomponents

Version:

Text to Speech component wich is reading texts from DOM elements.

20 lines (16 loc) 1.15 kB
'use strict'; const index = require('./index-15276d1f.js'); /* Stencil Client Patch Browser v2.3.0 | MIT Licensed | https://stenciljs.com */ const patchBrowser = () => { const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('honey-webcomponents.cjs.js', document.baseURI).href)); const opts = {}; if ( importMeta !== '') { opts.resourcesUrl = new URL('.', importMeta).href; } return index.promiseResolve(opts); }; patchBrowser().then(options => { return index.bootstrapLazy([["honey-speaker.cjs",[[1,"honey-speaker",{"pure":[4],"textids":[1025],"texturl":[1025],"verbose":[4],"iconwidth":[1],"iconheight":[1],"audiolang":[1],"audiopitch":[2],"audiorate":[2],"audiovolume":[2],"voicename":[1],"options":[32],"texts":[32],"isPressed":[32],"updateOptions":[64],"startSpeaker":[64],"pauseSpeaker":[64],"resumeSpeaker":[64],"cancelSpeaker":[64],"toggleSpeaker":[64]},[[2,"click","onClick"],[2,"keydown","onKeyDown"]]]]],["honey-webcomponents.cjs",[[1,"honey-webcomponents"]]]], options); });