
Parsifly Docs
API Reference
TStudioApi
Documentation for TStudioApi (2097152)
parsifly-extension-base / web-view / TStudioApi
Type Alias: TStudioApi
TStudioApi =
object
Defined in: web-view/index.ts:11
Properties
send
send:
ComLink.Remote<(...data) =>Promise<any>>
Defined in: web-view/index.ts:13
Allows you to send a message to your extension host
Methods
subscribeToDragEvent()
subscribeToDragEvent(
fn): () =>void
Defined in: web-view/index.ts:17
Allows you to subscribe to receive drag events from studio
Parameters
fn
(type, data, monitor) => Promise<void>
Returns
():
void
Returns
void
subscribeToMessage()
subscribeToMessage(
fn): () =>void
Defined in: web-view/index.ts:15
Allows you to subscribe to receive a message from your extension host
Parameters
fn
(...params) => Promise<void>
Returns
():
void
Returns
void