SyncFileTreeItem
Unofficial
A file row in the Sync history view.
Import:
import type { SyncFileTreeItem } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface SyncFileTreeItem extends TreeItemExtends: TreeItem
Properties
| Property | Type | Description | |
|---|---|---|---|
| coverEl | HTMLElement | Overlay element covering the tree item, used for visual effects. (Inherited from TreeItem) | |
| innerEl | HTMLElement | Inner container element holding the tree item content. (Inherited from TreeItem) | |
| selectable | boolean | Whether the item can be added to the tree's selection. false for rows such as bookmark groups.(Inherited from TreeItem) | |
| selfEl | HTMLElement | The main element representing this tree item in the DOM. (Inherited from TreeItem) | |
| sFile | SyncServerFile | The server file record the row shows. | |
| view | SyncView | The owning Sync history view. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| onSelfClick($event) | void | Execute item functionality on clicking tree item. (Inherited from TreeItem) | |
| setClickable(value) | void | Set clickable state of tree item. (Inherited from TreeItem) |
Links to this page: