@fabwcie/free-drawing / utils/dom / setLabel
Function: setLabel()
setLabel(
$el,label):void
Defined in: packages/free-drawing/src/utils/dom.ts:73
Accessible name of an element (icon button...), also shown as tooltip
Parameters
$el
HTMLElement
element to name
label
string
translated name, set as aria-label and title
Returns
void