Update plugin.md

pull/3094/head
yann300 6 years ago committed by GitHub
parent 16103c193f
commit 0df63570f2
  1. 10
      src/app/plugin/plugin.md

@ -23,7 +23,9 @@ plugin api
### app
- getExecutionContextProvider `@return {String} provider (injected | web3 | vm)`
- getProviderEndpoint `@return {String} url`
- updateTitle `@param {String} title`
- detectNetWork `@return {Object} {name, id}`
### config
@ -39,3 +41,11 @@ plugin api
- getAccounts `@return {Array} acccounts`
- createVMAccount `@param {String} privateKey, @param {String} balance (hex)`
### editor
- getFilesFromPath `@param {Array} [path]`
- getCurrentFile `@return {String} path`
- getFile `@param {String} path`
- setFile `@param {String} path, @param {String} content`
- highlight `@param {Object} lineColumnPos {start: {line, column}, end: {line, column}}, @param {String} path, @param {String} hexColor`
- discardHighlight

Loading…
Cancel
Save