Documentation

hasFocus()

Returns true if this element currently has input focus.

hasFocus(): boolean;

Notes

Related