(enable)
| 769 | * @param {boolean} [enable] |
| 770 | */ |
| 771 | export const toggleDisableInteraction = (enable) => { |
| 772 | clearTimeout(disableInteractionTimeout); |
| 773 | |
| 774 | if (enable) { |
| 775 | addClass(globalObj._dom._htmlDom, TOGGLE_DISABLE_INTERACTION_CLASS); |
| 776 | }else { |
| 777 | disableInteractionTimeout = setTimeout(() => { |
| 778 | removeClass(globalObj._dom._htmlDom, TOGGLE_DISABLE_INTERACTION_CLASS); |
| 779 | }, 500); |
| 780 | } |
| 781 | }; |
| 782 | |
| 783 | const iconStrokes = [ |
| 784 | 'M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5', // X |
no test coverage detected
searching dependent graphs…