Skip to content

@fabwcie/free-drawing / utils/dom / disableElement

Function: disableElement() ​

disableElement($el): void

Defined in: packages/free-drawing/src/utils/dom.ts:5

Disable an element: aria-disabled and disabled class, disabled property of buttons

Parameters ​

$el ​

HTMLElement

button, menu item or other element to disable

Returns ​

void