PublishFileListSection
Unofficial
One collapsible file list in the Publish changes dialog: changed, unchanged or new files.
Import:
import type { PublishFileListSection } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface PublishFileListSectionProperties
| Property | Type | Description | |
|---|---|---|---|
| childrenEl | HTMLElement | The element holding the rows. | |
| collapsed | boolean | Whether the list is collapsed. | |
| files | Record<string, PublishFileTreeItem> | The file rows, keyed by vault path. | |
| headerEl | HTMLElement | The list's header element. | |
| publish | PublishPluginInstance | The Publish plugin instance. | |
| sectionEl | HTMLElement | The list's root element. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| checkAll() | void | Select every change in the list. | |
| clear() | void | Remove every row. | |
| uncheckAll() | void | Deselect every change in the list. |
Links to this page: