Skip to content

FavoritesManager

Classes

FavoritesManager

Properties

favorites
favorites: string[];
Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:33

Accessors

instance
get static instance(): FavoritesManager
Returns

FavoritesManager

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:8

Methods

clearFavorites()
clearFavorites(): void
Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:47

isFavorite()
isFavorite(id): boolean
Parameters

id: string

Returns

boolean

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:39

setFavorite()
setFavorite(id, value): void
Parameters

id: string

value: boolean

Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:24

clearFavorites()
static clearFavorites(): void
Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:52

isFavorite()
static isFavorite(id): boolean
Parameters

id: string

Returns

boolean

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:43

setFavorite()
static setFavorite(id, value): void
Parameters

id: string

value: boolean

Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/storage/FavoritesManager.svelte.ts:35