Skip to content

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 TreeItem

Extends: TreeItem

Properties

PropertyTypeDescription
coverElHTMLElementOverlay element covering the tree item, used for visual effects.
(Inherited from TreeItem)
innerElHTMLElementInner container element holding the tree item content.
(Inherited from TreeItem)
selectablebooleanWhether the item can be added to the tree's selection. false for rows such as bookmark groups.
(Inherited from TreeItem)
selfElHTMLElementThe main element representing this tree item in the DOM.
(Inherited from TreeItem)
sFileSyncServerFileThe server file record the row shows.
viewSyncViewThe owning Sync history view.

Methods

MethodReturnsDescription
onSelfClick($event)voidExecute item functionality on clicking tree item.
(Inherited from TreeItem)
setClickable(value)voidSet clickable state of tree item.
(Inherited from TreeItem)

Links to this page: