showOption

shows a hidden option (segment) of the button

void showOption(string|number id);
idstring|numberthe option id

Example

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

Related samples

See also
Back to top