Trilium Frontend API
    Preparing search index...

    Class MountedTree

    A mounted tree, which can be stored on a tree node to indicate that parts of its content are represented by another tree.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • tree: Tree

        The inner tree.

      • overlay: readonly { from: number; to: number }[]

        If this is null, this tree replaces the entire node (it will be included in the regular iteration instead of its host node). If not, only the given ranges are considered to be covered by this tree. This is used for trees that are mixed in a way that isn't strictly hierarchical. Such mounted trees are only entered by resolveInner and enter.

      • parser: Parser

        The parser used to create this subtree.

      • Optionalbracketed: boolean

        Indicates that the nested content is delineated with some kind of bracket token.

      Returns MountedTree

    Properties

    bracketed: boolean

    Indicates that the nested content is delineated with some kind of bracket token.

    overlay: readonly { from: number; to: number }[]

    If this is null, this tree replaces the entire node (it will be included in the regular iteration instead of its host node). If not, only the given ranges are considered to be covered by this tree. This is used for trees that are mixed in a way that isn't strictly hierarchical. Such mounted trees are only entered by resolveInner and enter.

    parser: Parser

    The parser used to create this subtree.

    tree: Tree

    The inner tree.