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.
修改套索的标题。
static modifyLassoTitle(params: { style: number }): Promise<APIResponse<boolean>>;
params.style
number
0
1
2
3
4
APIResponse<boolean>
result === true
import { PluginNoteAPI } from 'sn-plugin-lib'; /** * 修改套索标题样式的示例。 */ export async function exampleModifyLassoTitle() { const res = await PluginNoteAPI.modifyLassoTitle({ style: 2 }); if (!res.success) { throw new Error(res.error?.message ?? 'modifyLassoTitle 调用失败'); } return res.result; }