src/store/internals/removeEnabledElement.js
function(enabledElement) {
  // Note: We may want to `setToolDisabled` before removing from store
  // Or take other action to remove any lingering eventListeners/state
  store.state.tools = store.state.tools.filter(
    tool => tool.element !== enabledElement
  );
}
function(enabledElement) {
  // Note: We may want to `setToolDisabled` before removing from store
  // Or take other action to remove any lingering eventListeners/state
  store.state.tools = store.state.tools.filter(
    tool => tool.element !== enabledElement
  );
}
function ( enabledElement ) { // Note: We may want to `setToolDisabled` before removing from store // Or take other action to remove any lingering eventListeners/state store . state . tools = store . state . tools . filter ( tool => tool . element !== enabledElement ) ; }
Remove all tools associated with enabled element.
@private
@method
@param {HTMLElement} enabledElement
@returns  {void}
Remove all tools associated with enabled element .