Toot.svelte

Declarations
#

view source

Toot
#

Toot.svelte view source

url

type string

updated_url?

Defaults to the url, but can be updated by user input.

type string
optional bindable

include_ancestors?

Whether to fetch and display the ancestors in the status context.

type boolean
optional

include_replies?

Whether to fetch and display replies aka descendants in the status context.

type boolean
optional

reply_filter?

Get a list of rules that controls whether replies are shown or not.

type ReplyFilter | Array<ReplyFilter> | CreateReplyFilters | null
optional

cache?

Optional API result cache. See MastodonCache and get_mastodon_cache/set_mastodon_cache.

type FetchValueCache | null | undefined
optional

log?

Optional logger for network calls.

type Logger | undefined
optional

loading?

type boolean | undefined
optional bindable

load_time?

type number | undefined
optional bindable

settings_storage_key?

type string | undefined
optional

initial_show_settings?

type boolean
optional

show_settings?

type boolean
optional bindable

autoload_storage_key?

type string | undefined
optional

initial_autoload?

type boolean
optional

autoload?

type boolean
optional

onreset?

type () => void
optional

settings?

type Snippet
optional

Depends on
#