removeCallback(callbackKey)
Removes the callback function referenced by callbackKey
from CommandBar.
When you remove a callback, any commands for which the callback is a dependency will become unavailable.
Example
window.CommandBar.removeCallback("sayHi");
Method parameters
callbackKey Required
string
Callback key for the callback to be removed.