Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set lasso box state.
static setLassoBoxState(state: number): Promise<APIResponse<boolean>>;
state
number
0
1
2
3
APIResponse<boolean>
result === true
import { PluginCommAPI } from 'sn-plugin-lib'; /** * Example: set lasso box state. */ export async function exampleSetLassoBoxState() { const res = await PluginCommAPI.setLassoBoxState(1); if (!res.success) { throw new Error(res.error?.message ?? 'setLassoBoxState call failed'); } return res.result; }