storage
        
        
          
                Baseline
                
                  Widely available
                
                
              
        
        
        
          
                
              
                
              
                
              
        
        
      
      This feature is well established and works across many devices and browser versions. It’s been available across browsers since апрель 2017 г..
Событие storage сигнализирует, что данные в объектах localStorage или sessionStorage были изменены. Подробнее см. Web Storage API.
Общая информация
- Specification
- Interface
- StorageEvent
- Bubbles
- 
Нет 
- Cancelable
- 
Нет 
- Target
- 
DefaultView ( <window>)
- Default Action
- 
Нет 
Свойства
| Property | Type | Description | 
|---|---|---|
| targetТолько для чтения | EventTarget | The event target (the topmost target in the DOM tree). | 
| typeТолько для чтения | DOMString | The type of event. | 
| bubblesТолько для чтения | Boolean | Whether the event normally bubbles or not. | 
| cancelableТолько для чтения | Boolean | Whether the event is cancellable or not. | 
| keyТолько для чтения | DOMString(string) | The key being changed. | 
| oldValueТолько для чтения | DOMString(string) | The old value of the key being changed. | 
| newValueТолько для чтения | DOMString(string) | The new value of the key being changed. | 
| urlТолько для чтения | DOMString(string) | The address of the document whose key changed. | 
| storageAreaТолько для чтения | Storage | The Storage object that was affected. |