14 lines
611 B
JavaScript
14 lines
611 B
JavaScript
|
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 ----------------------------------------------------------------------------------------------------
|
||
|
}
|
||
|
});
|