enable

enables a disabled item(s) of Ribbon

void enable(string|array ids);

Parameters

idsstring|arrayone ID or an array of IDs of items

Example

ribbon.enable("save_btn");
// several at a time
ribbon.enable(["cancel_btn","del_btn"]);

Related samples

See also
Back to top