onOptionAdd

fires after the option (segment) has been added

void onOptionAdd(string| number id,object obj);
idstring| numberoption ID
objobjectoption object with event parameters

Example

tabbar.attachEvent("onOptionAdd", function(id, obj){
    // code
});

See also
Back to top