Skip to content

Documentation / joplin-api / NoteActionApi

Class: NoteActionApi

Constructors

new NoteActionApi()

new NoteActionApi(ajax): NoteActionApi

Parameters

ajax: Ajax

Returns

NoteActionApi

Defined in

api/NoteActionApi.ts:10

Methods

isWatch()

isWatch(noteId): Promise<boolean>

Parameters

noteId: string

Returns

Promise<boolean>

Defined in

api/NoteActionApi.ts:28


noteIsWatched()

noteIsWatched(noteId): Promise<boolean>

Parameters

noteId: string

Returns

Promise<boolean>

Deprecated

已废弃,请使用 isWatch

Defined in

api/NoteActionApi.ts:24


openAndWatch()

openAndWatch(noteId): Promise<void>

Parameters

noteId: string

Returns

Promise<void>

Defined in

api/NoteActionApi.ts:12


stopWatching()

stopWatching(noteId): Promise<void>

Parameters

noteId: string

Returns

Promise<void>

Defined in

api/NoteActionApi.ts:16

Released under the MIT License.