isFocused

open fun isFocused(): Boolean(source)

Test if this element is focused.

Return

true if this is focused directly, and has no focused child