Commit 5f18d5fe authored by ioedeveloper's avatar ioedeveloper

Update api docs for context menu

parent aef57c91
......@@ -105,7 +105,8 @@ module.exports = class Filepanel extends ViewPlugin {
/**
*
* @param { name: string, type?: string[], path?: string[], extension?: string[], pattern?: string[] }
* @param item { name: string, type?: string[], path?: string[], extension?: string[], pattern?: string[] }
* @param callback (...args) => void
*/
registerContextMenuItem (item, callback) {
if (!item.name || !callback) return console.error('menu name and callback is mandatory')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment