onOptionAdd

fires after the option (tab, segment, radio) has been added

void onOptionAdd(string| number id,object obj){ ... };

Parameters

idstring| numberoption ID
objobjectoption object with event parameters

Example

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

See also
Back to top