Your comments
ok it's working using window.sayText !
i'm getting this :
'sayText' is not defined
Hi, this exemple shows how to add the avatar in react, but how do we use functions like sayText() after ?
Customer support service by UserEcho
ok it's working using window.sayText !
i'm getting this :
'sayText' is not defined
Hi, this exemple shows how to add the avatar in react, but how do we use functions like sayText() after ?
Customer support service by UserEcho
window.sayText works only once the sitepal avatar has loaded.
i'm using another function on the onClick. and it that function i have written:
if (window.sayText) window.sayText(message,3,4,3);
hope it helps