MCPcopy Create free account
hub / github.com/plotly/dash / delete

Method delete

components/dash-table/src/core/storage/Cookie.ts:25–33  ·  view source on GitHub ↗
(id: string, domain = '', path = '/')

Source from the content-addressed store, hash-verified

23 });
24
25 public static delete(id: string, domain = '', path = '/') {
26 if (!CookieStorage.enabled()) {
27 return;
28 }
29
30 const expires = new Date(Date.now() - __1day).toUTCString();
31
32 document.cookie = `${id}=;expires=${expires};domain=${domain};path=${path}`;
33 }
34
35 public static get(id: string) {
36 if (!id.length) {

Callers 3

setMethod · 0.45
map.tsFile · 0.45
updateMapFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected