Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(?origin, ?storages, ?quotas)

Full Usage: Options(?origin, ?storages, ?quotas)

Parameters:
    ?origin : string - Should follow window.location.origin’s representation scheme://host:port.
    ?storages : Storages[] - The types of storages to clear, can be cookies, filesystem, indexdb, localstorage, shadercache, websql, serviceworkers, cachestorage. If not specified, clear all storage types.
    ?quotas : Quotas[] - The types of quotas to clear, can be temporary. If not specified, clear all quotas.

Returns: Options
?origin : string

Should follow window.location.origin’s representation scheme://host:port.

?storages : Storages[]

The types of storages to clear, can be cookies, filesystem, indexdb, localstorage, shadercache, websql, serviceworkers, cachestorage. If not specified, clear all storage types.

?quotas : Quotas[]

The types of quotas to clear, can be temporary. If not specified, clear all quotas.

Returns: Options

Instance members

Instance member Description

this.origin

Full Usage: this.origin

Should follow window.location.origin’s representation scheme://host:port.

this.quotas

Full Usage: this.quotas

The types of quotas to clear, can be temporary. If not specified, clear all quotas.

this.storages

Full Usage: this.storages

The types of storages to clear, can be cookies, filesystem, indexdb, localstorage, shadercache, websql, serviceworkers, cachestorage. If not specified, clear all storage types.

Type something to start searching.