I am trying to retrieve all elements containing specific tag:
I tried the following 3 options
CustomJS(args=dict(rootDom=rootDom), code="""
console.log(rootDom);
//var found = rootDom.select("tags", "myColumn");
//var found = rootDom.select({"tags", "myColumn"});
//var found = rootDom.select({type: "tags", name: "myColumn"});
console.log(found);
""")
The first one works, but returns empty array. Others return exceptions “Invalid selector”.
The following code works properly on Python side:
elems = rootDom.select({"tags": 'myColumn'})
Thanks!

