How to know who root node is

25 views
Skip to first unread message

André Victor

unread,
Oct 30, 2017, 3:56:46 PM10/30/17
to Popotojs alpha
Hi,

How can I get the root node string in my javascript function inside provider?

Thanks


Frederic Ciminera

unread,
Jan 11, 2018, 8:19:13 AM1/11/18
to Popotojs alpha
you can use the function var rootNode = popoto.graph.getRootNode()
And popoto.provider.getTextValue(rootNode)
Reply all
Reply to author
Forward
0 new messages