Back to Trilium

Interface ViewScope

docs/Script API/interfaces/Frontend_Script_API._internal_.ViewScope.html

0.102.22.1 KB
Original Source

Interface ViewScope

interface ViewScope {
attachmentId?: string;
highlightsListPreviousVisible?: boolean;
highlightsListTemporarilyHidden?: boolean;
readOnlyTemporarilyDisabled?: boolean;
tocPreviousVisible?: boolean;
tocTemporarilyHidden?: boolean;
viewMode?: string;
}

Index

Properties

attachmentId?highlightsListPreviousVisible?highlightsListTemporarilyHidden?readOnlyTemporarilyDisabled?tocPreviousVisible?tocTemporarilyHidden?viewMode?

Properties

OptionalattachmentId

attachmentId?: string

OptionalhighlightsListPreviousVisible

highlightsListPreviousVisible?: boolean

OptionalhighlightsListTemporarilyHidden

highlightsListTemporarilyHidden?: boolean

OptionalreadOnlyTemporarilyDisabled

readOnlyTemporarilyDisabled?: boolean

OptionaltocPreviousVisible

tocPreviousVisible?: boolean

OptionaltocTemporarilyHidden

tocTemporarilyHidden?: boolean

OptionalviewMode

viewMode?: string

  • "source", when viewing the source code of a note.
  • "attachments", when viewing the attachments of a note.
  • "contextual-help", if the current view represents a help window that was opened to the side of the main content.
  • "default", otherwise.

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark

On This Page

Properties attachmentIdhighlightsListPreviousVisiblehighlightsListTemporarilyHiddenreadOnlyTemporarilyDisabledtocPreviousVisibletocTemporarilyHiddenviewMode