Documentation / joplin-api / NoteExtApi
Class: NoteExtApi
Constructors
new NoteExtApi()
new NoteExtApi(
ajax
):NoteExtApi
Parameters
• ajax: Ajax
Returns
Defined in
Methods
move()
move(
id
,parentId
):Promise
<NoteUpdateRes
>
将笔记移动到指定目录
Parameters
• id: string
• parentId: string
Returns
Promise
<NoteUpdateRes
>
Defined in
rename()
rename(
id
,title
):Promise
<NoteUpdateRes
>
重命名笔记
Parameters
• id: string
• title: string
Returns
Promise
<NoteUpdateRes
>
Defined in
toggleTodo()
toggleTodo(
id
,completed
?):Promise
<void
>
切换 to-do 的状态
Parameters
• id: string
• completed?: IntBool
Returns
Promise
<void
>