Documentation

onAfterTabClick

fires after a segment has been clicked

void onAfterTabClick(){ ... };

Example

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

Details

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

See also

Back to top