onAfterTabClick

fires after a segment has been clicked

void onAfterTabClick(number|string id,Event ev);
idnumber|stringthe id of the segment that was clicked
evEventthe click event object

Example

segmented.attachEvent("onAfterTabClick", function(id,ev){
    //code
});

Details

Unlike the onItemClick event this one watches clicks over separate segments and passes the ID of a clicked segment into its handler.

See also
Back to top