accepts children
import TootLoader from '@fuzdev/fuz_mastodon/TootLoader.svelte'; host
The host part of the url, like 'mastodon.ryanatkn.com'.
type
string | nullid
The status id to fetch, like '110702983310017651'.
type
string | nullinclude_ancestors?
Whether to fetch and display the ancestors in the status context.
type
booleanoptional default
falseinclude_replies?
Whether to fetch and display replies aka descendants in the status context.
type
booleanoptional default
falsecache?
Optional API result cache.
type
Map<string, { key: string; url: string; params: any; value: any; etag: string | null; last_modified: string | null; }>optional
log?
Optional logger for network calls.
type
Loggeroptional
loading?
type
booleanoptional bindable
item?
type MastodonStatus
optional bindable
status_context?
optional bindable
replies?
type
MastodonStatus[]optional bindable
reply_filter?
Get a list of rules that controls whether replies are shown or not. If omitted, all replies are included.
type
ReplyFilter | ReplyFilter[] | CreateReplyFiltersoptional
load_time?
type
numberoptional bindable
children
type
Snippet<[{ item: MastodonStatus | null | undefined; status_context: MastodonStatusContext | null | undefined; replies: MastodonStatus[] | null | undefined; load: () => Promise<...>; loading: boolean | undefined; load_time: number | undefined; }]>snippet parameters
arg0 { item: MastodonStatus | null | undefined; status_context: MastodonStatusContext | null | undefined; replies: MastodonStatus[] | null | undefined; load: () => Promise<...>; loading: boolean | undefined; load_time: number | undefined; }