Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

addContextMenuEntriesΒΆ

Function addContextMenuEntries

  • Add new entries to the context menu.

    Parameters

    • entries: ContextMenuEntry[]

      the entries to add

    • Optionalindex: number

      the index at which to insert the entries, if not specified, the entries will be appended to the end

    Returns number[]

    the IDs of the added entries