showOption

shows a hidden option (segment) of the button

void showOption(string|number id);

Parameters

idstring|numberthe option id

Example

// hide an option
segmented.hideOption(id);
// show the option again
segmented.showOption(id);

See also
Back to top