Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoteExtApi

Hierarchy

  • NoteExtApi

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly noteApi

noteApi: NoteApi

Methods

move

  • move(id: string, parentId: string): Promise<NoteUpdateRes>
  • 将笔记移动到指定目录

    Parameters

    • id: string
    • parentId: string

    Returns Promise<NoteUpdateRes>

rename

  • rename(id: string, title: string): Promise<NoteUpdateRes>
  • 重命名笔记

    Parameters

    • id: string
    • title: string

    Returns Promise<NoteUpdateRes>

toggleTodo

  • toggleTodo(id: string, completed?: IntBool): Promise<void>
  • 切换 to-do 的状态

    Parameters

    • id: string
    • Optional completed: IntBool

    Returns Promise<void>

Generated using TypeDoc