inspector/metadata/thumbnails.svelte#
Classes#
Thumbnails#
Defined in: editor/src/inspector/metadata/thumbnails.svelte.ts:17
The images of the things rectangles name, resolved through the lookup once per IRI.
Constructors#
Constructor#
new Thumbnails(
lookup):Thumbnails
Defined in: editor/src/inspector/metadata/thumbnails.svelte.ts:23
Parameters#
lookup#
Returns#
Methods#
imageOf()#
imageOf(
things):string|null
Defined in: editor/src/inspector/metadata/thumbnails.svelte.ts:37
The thumbnail of things, a rectangle’s things in its order: the image
of the first whose answer arrived with one; null before, and while
none has one.
Parameters#
things#
readonly Thing[]
Returns#
string | null
load()#
load(
things):Attachment
Defined in: editor/src/inspector/metadata/thumbnails.svelte.ts:46
An attachment starting the one resolve of the IRI of each of things the lookup resolves.
Parameters#
things#
readonly Thing[]
Returns#
Attachment
resolvable()#
resolvable(
things):boolean
Defined in: editor/src/inspector/metadata/thumbnails.svelte.ts:28
Whether the lookup resolves the system of any of things.
Parameters#
things#
readonly Thing[]
Returns#
boolean
Variables#
provideThumbnails#
provideThumbnails: (
context) =>Thumbnails
Defined in: editor/src/inspector/metadata/thumbnails.svelte.ts:67
Parameters#
context#
Returns#
thumbnailsOf#
thumbnailsOf: () =>
Thumbnails
Defined in: editor/src/inspector/metadata/thumbnails.svelte.ts:67