0.0.1 • Published 4 years ago
respresso-live-sync v0.0.1
Respresso livesync
const respressoLiveSyncClient = new RespressoLiveSync({
projectToken: '<your project token from respresso.json>', //keep in sync with respresso.json
version: '<your version from respresso.json>' //keep in sync with respresso.json
});
respressoLiveSyncClient.onValueChangedListener = (values) => {
console.log('Add new values to your i18 service', values)
}
Selection handler
respressoLiveSyncClient.enableDocumentSelectHandler();
//or
respressoLiveSyncClient.disableDocumentSelectHandler();
Configuration
config | type | description | mandatory | default value |
---|---|---|---|---|
projectToken | string | token | required | |
version | string | version | required | |
appName | string | device title for live editor page | optional | Respresso WEB |
frontendToken | string | code from Live editor page | optional | |
localizationLang | string | language (e.g: en) | optional | |
objectLocalizationFormat | boolean | localization format | optional | false |
enableDocumentSelectHandler | boolean | Selection handler for filtering | optional | false |
0.0.1
4 years ago