Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript Options #338

Open
RalfStehle opened this issue Jun 30, 2024 · 0 comments
Open

Javascript Options #338

RalfStehle opened this issue Jun 30, 2024 · 0 comments

Comments

@RalfStehle
Copy link

The options for javascript sendTo('history.0', 'enableHistory', { are not well described.
I even think I found a typo (debounce instead of debounceTime)

I found on the internet two more options (Bold):

sendTo('history.0', 'enableHistory', {
id: 'alias.0.Zaehler',
options: {
blockTime: 1000,
debounceTime: 1000,
changesOnly: true,
retention: 31536000,
maxLength: 5,
changesRelogInterval: 3600000,
aliasId: ''
}
}, function (result) {
if (result.error) {
console.log(result.error);
}
if (result.success) {
console.log('successfull enabled');
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant