# webbrowser-webapp **Repository Path**: epii/webbrowser-webapp ## Basic Information - **Project Name**: webbrowser-webapp - **Description**: 最简单的用html+css+js开发桌面应用的方法 - **Primary Language**: HTML - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-10-15 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #webbrowser-WebApp 最简单的用HTML+CSS+JS开发桌面应用的方法。 ### 特性 1 支持HTML+CSS+JS 2 js通过require(name)方法加载模块。 3 自定义模块开发支持 4 本项目基于[webbrowser-js-bridge项目](https://github.com/epaii/webbrowser-js-bridge) ### config.json 配置 ``` { "formTitle":"测试", "formBorderStyle":"0", //是否有边框 "windowState":"2",//0 常规 1 最小化 2 最大化 "icon":"icon/logo.ico", "root":"sssets/index.html" //入口文件支持本地和远程 } ``` ### 加载模块 系统默认已经加载了*system*某块。使用方式 ``` var sys = JsBridge.require("system"); sys.alert({msg:"测试"}); ``` system支持的方法请查看 [system模块](https://github.com/epaii/webbrowser-module-system) ### 如何编写自己的模块 请查看 [webbrowser-js-bridge开发指南](https://github.com/epaii/webbrowser-js-bridge)