focusin
        
        
          Limited availability
        
        
        
          
                
              
                
              
                
              
        
        
      
      This feature is not Baseline because it does not work in some of the most widely-used browsers.
Событие focusin срабатывает, когда элемент получает фокус. Главное отличие от focus в том, что последний не всплывает.
Общая информация
- Specification
 - Interface
 FocusEvent- Bubbles
 - 
Yes
 - Cancelable
 - 
No
 - Target
 - 
Element
 - Default Action
 - 
None.
 
Свойства
| Property | Type | Description | 
|---|---|---|
target Только для чтения  | 
EventTarget | 
Event target losing focus. | 
type Только для чтения  | 
DOMString | 
The type of event. | 
bubbles Только для чтения  | 
Boolean | 
Whether the event normally bubbles or not. | 
cancelable Только для чтения  | 
Boolean | 
Whether the event is cancellable or not. | 
relatedTarget Только для чтения  | 
EventTarget (DOM element) | 
Event target receiving focus. | 
Совместимость с браузерами
Loading…