Innovenergy_trunk/python/gui/assets/clientside.js

14 lines
611 B
JavaScript
Raw Normal View History

2023-02-16 12:57:06 +00:00
window.dash_clientside = Object.assign({}, window.dash_clientside, {
clientside: {
// !define clientside javascript functions below here!
// -------------------------------------------------------------------------------------------------------
clickNode: function(id) {
console.trace()
const elem = document.getElementById(id);
elem.children[0].children[0].click();
elem.scrollIntoView();
return 0;
}
// end ----------------------------------------------------------------------------------------------------
}
});