---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/interactivityModel.storage.md
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/interactivityModel.storage.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/jsapi-v2-1/doc/en/llms.txt

# interactivityModel.storage

Static object.

Instance of [util.Storage](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md)

Storage for the interactivity model. Interactivity models allow objects to handle DOM events in different ways. Available interactivity model keys: 
- 'default#opaque' - The object generates all DOM events and does not throw them to the map. Map behaviors will not work when hovering over or clicking on objects with this interactivity model.
- 'default#geoObject' - The object generates all DOM events. The events "wheel", "mousedown", "dblclick", "contextmenu", "multitouchstart", "multitouchmove" and "multitouchend" are thrown to the map. If the "scrollZoom", "dblClickZoom" or "magnifier" behaviors are enabled on the map, they will work 	via objects with this interactivity model, in contrast to the objects with the 	"default#opaque" model.
- 'default#layer' - The object generates all DOM events. The events "wheel", "mousedown", "contextment", "multitouchstart", "multitouchmove", and "multitouchend" are thrown to the map. If the "scrollZoom", "drag", or "magnifier" behaviors are enabled on the map, they will work 	via objects with this interactivity model.
- 'default#transparent' - The object generates all DOM events, then throws them 	to the map.
- 'default#silent' - The object does not generate all DOM events but throws them to the map.

[Methods](#methods-summary)

## Methods {#methods-summary}

#|
|| **Name** | **Returns** | **Description** ||
|| [add](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md#add)([key](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md#add-param-key), [object](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md#add-param-object)) | [util.Storage](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md) | Adds an object to storage. ||
|| [get](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md#get)([key](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md#get-param-key)) | Object | Returns object stored for the specified key, or the primary key, if this is not a string. ||
|| [remove](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md#remove)([key](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md#remove-param-key)) | [util.Storage](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/util.Storage.md) | Deletes the "key: value" pair from storage. ||
|#