onBubbleClick

fires on clicking on a bubble

boolean onBubbleClick(string|number id,string|number content){ ... };

Parameters

idstring|numberthe id of the sidebar's item
contentstring|numberthe bubble's content

Returns

booleantrue to allow item selection

Example

mySidebar.attachEvent("onBubbleClick", function(id, content){
    // your code here
});

Related samples

See also
Change log

added in 4.3

Back to top