Trevixal API
    Preparing search index...

    Function setListItemFolded

    • Fold the list item at itemPath shut, or open it again. Folding one with the caret in what it hides takes the caret to the end of its first block, so what the writer types stays in sight. Declines for an item with nothing to fold, and for one already as asked.

      Parameters

      • itemPath: Path
      • folded: boolean

      Returns Command