custom-electron-titlebar:VS Code标题栏上的自定义电子标题栏显示

上传者: 42143092 | 上传时间: 2023-04-04 12:25:19 | 文件大小: 201KB | 文件类型: ZIP
自定义电子标题栏 该项目是电子的打字稿库,可让您配置完全可自定义的标题栏。 它是电子库,不能在基本网站上使用。 安装 npm i custom-electron-titlebar 或使用示例文件夹通过此标题栏初始化基本电子项目。 用法 步骤1 在渲染器文件或HTML脚本标签中添加: const customTitlebar = require ( 'custom-electron-titlebar' ) ; new customTitlebar . Titlebar ( { backgroundColor : customTitlebar . Color . fromHex ( '#444' ) } ) ; 如果您使用打字稿 import { Titlebar , Color } from 'custom-electron-titlebar' new Titlebar ( { backgroundColor : Color . fromHex ( '#ECECEC' ) } ) ; 参数backgroundColor: Color是必需的,这应该是Color类型。 (有关更

文件下载

资源详情

[{"title":"( 47 个子文件 201KB ) custom-electron-titlebar:VS Code标题栏上的自定义电子标题栏显示","children":[{"title":"custom-electron-titlebar-master","children":[{"title":".github","children":[{"title":"ISSUE_TEMPLATE","children":[{"title":"issue-report.md <span style='color:#111;'> 607B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"yarn.lock <span style='color:#111;'> 24.96KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.ts <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"common","children":[{"title":"color.ts <span style='color:#111;'> 16.01KB </span>","children":null,"spread":false},{"title":"lifecycle.ts <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"arrays.ts <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"platform.ts <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false},{"title":"linkedList.ts <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"dom.ts <span style='color:#111;'> 35.45KB </span>","children":null,"spread":false},{"title":"event.ts <span style='color:#111;'> 23.23KB </span>","children":null,"spread":false},{"title":"keyCodes.ts <span style='color:#111;'> 17.02KB </span>","children":null,"spread":false},{"title":"enableNativeMenuCommands.ts <span style='color:#111;'> 924B </span>","children":null,"spread":false},{"title":"iterator.ts <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"async.ts <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"charCode.ts <span style='color:#111;'> 17.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"titlebar.ts <span style='color:#111;'> 17.07KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"menu","children":[{"title":"menu.ts <span style='color:#111;'> 18.74KB </span>","children":null,"spread":false},{"title":"menuitem.ts <span style='color:#111;'> 9.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"themebar.ts <span style='color:#111;'> 24.41KB </span>","children":null,"spread":false},{"title":"browser","children":[{"title":"browser.ts <span style='color:#111;'> 6.09KB </span>","children":null,"spread":false},{"title":"iframe.ts <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"event.ts <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"mouseEvent.ts <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false},{"title":"keyboardEvent.ts <span style='color:#111;'> 8.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"menubar.ts <span style='color:#111;'> 21.04KB </span>","children":null,"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"tasks.json <span style='color:#111;'> 767B </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"custom-electron-titlebar.iml <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":true},{"title":"example","children":[{"title":"index.html <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"preload.js <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"icon.png <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"renderer.js <span style='color:#111;'> 293B </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.02KB </span>","children":null,"spread":false},{"title":"screenshots","children":[{"title":"window_3.png <span style='color:#111;'> 18.41KB </span>","children":null,"spread":false},{"title":"window_1.png <span style='color:#111;'> 69.71KB </span>","children":null,"spread":false},{"title":"window_2.png <span style='color:#111;'> 18.96KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 26.91KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1020B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明