没有合适的资源?快使用搜索试试~ 我知道了~
custom-electron-titlebar:VS Code标题栏上的自定义电子标题栏显示
共47个文件
ts:24个
json:5个
png:4个
需积分: 44 5 下载量 74 浏览量
2021-02-03
10:10:45
上传
评论
收藏 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类型。 (有关更
资源推荐
资源详情
资源评论
收起资源包目录
custom-electron-titlebar-master.zip (47个子文件)
custom-electron-titlebar-master
.github
ISSUE_TEMPLATE
issue-report.md 607B
yarn.lock 25KB
src
main.ts 51B
common
color.ts 16KB
lifecycle.ts 2KB
arrays.ts 595B
platform.ts 5KB
linkedList.ts 4KB
dom.ts 35KB
event.ts 23KB
keyCodes.ts 17KB
enableNativeMenuCommands.ts 924B
iterator.ts 6KB
async.ts 2KB
charCode.ts 18KB
titlebar.ts 17KB
index.ts 406B
menu
menu.ts 19KB
menuitem.ts 10KB
themebar.ts 24KB
browser
browser.ts 6KB
iframe.ts 5KB
event.ts 1KB
mouseEvent.ts 6KB
keyboardEvent.ts 9KB
menubar.ts 21KB
.vscode
launch.json 1KB
tasks.json 767B
.npmignore 351B
.idea
misc.xml 362B
custom-electron-titlebar.iml 337B
modules.xml 301B
vcs.xml 168B
example
index.html 502B
main.js 2KB
preload.js 806B
images
icon.png 1KB
renderer.js 293B
tsconfig.json 245B
LICENSE 1KB
README.md 10KB
screenshots
window_3.png 18KB
window_1.png 70KB
window_2.png 19KB
.gitignore 4KB
package-lock.json 27KB
package.json 1020B
共 47 条
- 1
资源评论
徐校长
- 粉丝: 34
- 资源: 4615
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功