UNPKG

@huluvu424242/honey-webcomponents

Version:

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

18 lines (14 loc) 929 B
import { p as promiseResolve, b as bootstrapLazy } from './index-83564e17.js'; /* Stencil Client Patch Esm v2.3.0 | MIT Licensed | https://stenciljs.com */ const patchEsm = () => { return promiseResolve(); }; const defineCustomElements = (win, options) => { if (typeof window === 'undefined') return Promise.resolve(); return patchEsm().then(() => { return bootstrapLazy([["honey-speaker",[[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",[[1,"honey-webcomponents"]]]], options); }); }; export { defineCustomElements };