Skip to content

Latest commit

 

History

History

mini-browser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Mini Browser Example

This is an embedded mini browser example of component.

screenshot

:Browse {url} command opens embedded mobile browser as screenshot. You can see the document page, issue page, and so on quickly. This embedded browser is implemented with <webview> tag of Electron.

You can execute this example by below commands.

$ cd /path/to/neovim-component
$ npm run dep
$ cd ./example/mini-browser
$ npm run app

I created very simple webview wrapper as <mini-browser> component. It works with <neovim-editor> component and Neovim process. When user inputs command, the url is sent by rpcnotify() and <neovim-editor> forwards it to <mini-browser> component. <mini-browser> component is separated and reusable for Electron apps.