Documentation Index
Fetch the complete documentation index at: https://docs.supernote.com/llms.txt
Use this file to discover all available pages before exploring further.
You must create a lasso selection before calling this API; otherwise the call fails.
static deleteLassoElements(): Promise<APIResponse<boolean>>;
Returns
Example
import { PluginCommAPI } from 'sn-plugin-lib';
/**
* Example: delete lasso-selected elements.
*/
export async function exampleDeleteLassoElements() {
const res = await PluginCommAPI.deleteLassoElements();
if (!res.success) {
throw new Error(res.error?.message ?? 'deleteLassoElements call failed');
}
return res.result;
}