Skip to main content

Variable: Cookies

const Cookies: object

Defined in: src/Cookies.ts:30

Type Declaration

clearAll()

clearAll: () => void

Returns

void

Func

清除所有Cookie

Desc

通过使用 document.cookie 可以轻松清除存储在网页中的所有 cookie 。

get()

get: (name) => string

Parameters

name

any

Returns

string

Func

获取指定名的cookies

Desc

getAll()

getAll: () => string

Returns

string

Func

获取所有Cookie

Desc