Skip to content

PublishFileListSection

Unofficial

One collapsible file list in the Publish changes dialog: changed, unchanged or new files.

Import:

import type { PublishFileListSection } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface PublishFileListSection

Properties

PropertyTypeDescription
childrenElHTMLElementThe element holding the rows.
collapsedbooleanWhether the list is collapsed.
filesRecord<string, PublishFileTreeItem>The file rows, keyed by vault path.
headerElHTMLElementThe list's header element.
publishPublishPluginInstanceThe Publish plugin instance.
sectionElHTMLElementThe list's root element.

Methods

MethodReturnsDescription
checkAll()voidSelect every change in the list.
clear()voidRemove every row.
uncheckAll()voidDeselect every change in the list.

Links to this page: