Documentation / joplin-api / ResourceActionApi
Class: ResourceActionApi
Constructors
new ResourceActionApi()
new ResourceActionApi(
ajax
):ResourceActionApi
Parameters
• ajax: Ajax
Returns
Defined in
Methods
noteIsWatched()
noteIsWatched(
resourceId
):Promise
<boolean
>
Parameters
• resourceId: string
Returns
Promise
<boolean
>
Defined in
openAndWatch()
openAndWatch(
resourceId
):Promise
<void
>
Parameters
• resourceId: string
Returns
Promise
<void
>
Defined in
stopWatching()
stopWatching(
resourceId
):Promise
<void
>
Parameters
• resourceId: string
Returns
Promise
<void
>
Defined in
watch()
watch(
resourceId
):Promise
<void
>
Parameters
• resourceId: string
Returns
Promise
<void
>