focusin

O evento focusin é acionado no momento em que o elemento receba o foco. A grande diferença entre esse evento e o evento focus (en-US), é que apenas o focusin delega o seu evento para o elemento pai (conhecido como bubbling ou deletegate).

Informações Gerais

Propriedades

Property Type Description
target Somente leitura EventTarget Event target losing focus.
type Somente leitura DOMString The type of event.
bubbles Somente leitura Boolean Whether the event normally bubbles or not.
cancelable Somente leitura Boolean Whether the event is cancellable or not.
relatedTarget Somente leitura EventTarget (DOM element) Event target receiving focus.

Especificações

Specification
UI Events
# event-type-focusin

Compatibilidade com navegadores

BCD tables only load in the browser

Eventos Relacionais