Skip to content

@serenity-is/sleekgrid / disableSelection

Function: disableSelection()

disableSelection(target): void

Defined in: src/core/util.tsx:155

Disables text selection on the target element.

Parameters

target

HTMLElement

Element to make unselectable.

Returns

void