Home > widget-integration > RecentSearchService > getStorage

RecentSearchService.getStorage() method

Get the storage instance to use. Override this method to use a different storage strategy.

Signature:

protected getStorage(): Storage;

Returns:

Storage

Storage instance (localStorage by default)