energy/example/README.md
2023-07-02 15:57:07 +08:00

6.9 KiB

Energy example

In Energy, CEF combined with LCL can make various applications

CEF: HTML + JS + CSS

LCL: Various system native UI components

Example Name Example Description
app-icon-syso windows Windows application icon generation, Linux and macOSX not provided
context-menu Customize right-click menu
control The state control of page control refresh, forward, backward, and stop refresh based on LCL components can be combined with various system components in Energy
cookie Setting, obtaining, and deleting cookies
cookie-manager Cookie Management
dev-tools Developer Tools
dom-visitor Document operation display
download Download files
execute-dev-tools-method Execute Developer Tool Method
execute-javascript Executing JS code in the page in Go
frameless Borderless Window
i18n Local multilingual adaptation
internal-http-server Internal Services
ipc-on-emit Event monitoring and triggering for Go and JS
key-event Keyboard events in HTML
load-html-url Display the loaded Html string or Url address on the page
msgbox LCL based system prompts
popup-sub-window Pop up sub window
print-pdf Printing pages as PDF documents
process-type When there are multiple processes, the process type
proxy Proxy configuration
response-filter Resource response filtering
scheme Custom protocol topics, such as http instead of hello
bsearch-text Search page text
sysdialog Various modal functional Windows
view-source Display page source code
vue Example of html+vue
webkit-register webkit callback functions register local js examples
zoom Zoom in and out of the page
simple Simple application example
sub-process Multiprocess, starting the rendering process as a child process
tray Tray - Custom and system tray
dev-test examples of various tests at development time
... ...