JS WatchThis
WatchThis is a subset of escs services to provide easy drop-in social features for your app, like videochat, event sync between participants and so on.
Connecting plugin to your project.
"@escs/react-escs-plugin": "https://[email protected]/repo_name"import { service, ESCSButton, ESCSWebView } from '@escs/react-escs-plugin'
import '@escs/react-escs-plugin/dist/styles.css'<ESCSWebView></ESCSWebView>
<ESCSButton visible={true}></ESCSButton>import { service, renderReact } from '@escs/react-escs-plugin'
import '@escs/react-escs-plugin/dist/styles.css'renderReact('app', callback);window.Loader.load("ESCSButton", {
visible: true
}, divEscsButton, () => {
console.log("ESCSButton Loaded");
});
window.Loader.load("ESCSWebView", null, divEscsWebView, () => {
console.log("ESCSWebView Loaded");
});Initialization
Sending shared events for party participants
Last updated