Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for SharedStorage.
Developer library 6
SharedStorageSelectURLOperation
Shared Storage API The **`SharedStorageSelectURLOperation`** interface of the Shared Storage API represents a [URL Selection output gate](/docs/Web/API/Shared_Storage_API#url_selection) operation. ## Instance methods - run() - : Defines the structure to which the `run()` method defined inside a URL Selection output gate operation should conform. ## Examples In this example, a class called `SelectURLOperatio
SharedStorageWorklet
Shared Storage API The **`SharedStorageWorklet`** interface of the Shared Storage API represents the shared storage worklet for the current origin. `SharedStorageWorklet` does not have its own properties or methods. Rather, it inherits the addModule() method from the Worklet interface. This method is used for adding a module. Unlike a regular Worklet: - If the calling site has not included the Shared Storage API
SharedStorageOperation
Shared Storage API The **`SharedStorageOperation`** interface of the Shared Storage API represents the base class for all output gate operation types. The output gate types are detailed below: <table class="no-markdown"> <thead> <tr> <th>Name</th> <th>Description</th> <th>Defined by</th> <th>Invoked by</th> </tr> </thead> <tbody> <tr> <td>URL Selection</td> <td
SharedStorage
Shared Storage API The **`SharedStorage`** interface of the Shared Storage API represents the shared storage for a particular origin, defining methods to write data to the shared storage. `SharedStorage` is the base class for: - WindowSharedStorage, accessed via Window.sharedStorage. - WorkletSharedStorage, accessed via SharedStorageWorkletGlobalScope.sharedStorage. ## Instance methods - append() - : Appen
SharedStorage: delete() method
Shared Storage API The **`delete()`** method of the SharedStorage interface deletes an existing key-value pair from the current origin's shared storage. ## Syntax ```js-nolint delete(key) ``` ### Parameters - `key` - : A string representing the key of the key-value pair you want to delete. ### Return value A Promise that fulfills with `undefined`. ### Exceptions - The `Promise` rejects with a TypeError if:
SharedStorage: append() method
Shared Storage API The **`append()`** method of the SharedStorage interface appends a string to the value of an existing key-value pair in the current origin's shared storage. ## Syntax ```js-nolint append(key, value) ``` ### Parameters - `key` - : A string representing the key of the key-value pair to which you want to append a value. - `value` - : A string that you want to append to the existing value of t