https://github.com/bradmartin/nativescript-texttospeech
texttospeech has documentation written in TS.
How to translate code into ns-VUE?
import { TNSTextToSpeech, SpeakOptions } from 'nativescript-texttospeech';
let TTS = new TNSTextToSpeech();
let speakOptions: SpeakOptions = {
text: 'hello world',
};
TTS.speak(speakOptions);
I don't want to use typescript, all I need is a button that talks in Nativescript-Vue .
Thanks in advance