Update plugin.md

pull/1/head
yann300 6 years ago committed by GitHub
parent b57563820c
commit 84a849f4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/app/plugin/plugin.md

@ -23,7 +23,9 @@ plugin api
### app ### app
- getExecutionContextProvider `@return {String} provider (injected | web3 | vm)` - getExecutionContextProvider `@return {String} provider (injected | web3 | vm)`
- getProviderEndpoint `@return {String} url`
- updateTitle `@param {String} title` - updateTitle `@param {String} title`
- detectNetWork `@return {Object} {name, id}`
### config ### config
@ -39,3 +41,11 @@ plugin api
- getAccounts `@return {Array} acccounts` - getAccounts `@return {Array} acccounts`
- createVMAccount `@param {String} privateKey, @param {String} balance (hex)` - 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