Skip to content

Documentation / joplin-api / ResourceActionApi

Class: ResourceActionApi

Constructors

new ResourceActionApi()

new ResourceActionApi(ajax): ResourceActionApi

Parameters

ajax: Ajax

Returns

ResourceActionApi

Defined in

api/ResourceActionApi.ts:11

Methods

noteIsWatched()

noteIsWatched(resourceId): Promise<boolean>

Parameters

resourceId: string

Returns

Promise<boolean>

Defined in

api/ResourceActionApi.ts:25


openAndWatch()

openAndWatch(resourceId): Promise<void>

Parameters

resourceId: string

Returns

Promise<void>

Defined in

api/ResourceActionApi.ts:13


stopWatching()

stopWatching(resourceId): Promise<void>

Parameters

resourceId: string

Returns

Promise<void>

Defined in

api/ResourceActionApi.ts:21


watch()

watch(resourceId): Promise<void>

Parameters

resourceId: string

Returns

Promise<void>

Defined in

api/ResourceActionApi.ts:17

Released under the MIT License.