Commit graph

169 commits

Author SHA1 Message Date
jsbyysheng
6224992453
Fix TypeScript compile error with Electron
`WebviewTag` is no longer defined in `electron` module, fix for 
```
node_modules/electron-tabs/index.d.ts:2:9 - error TS2305: Module '"electron"' has no exported member 'WebviewTag'.

2 import {WebviewTag} from 'electron';
```
2022-03-06 12:54:03 +08:00
Thomas Brouard
8a6e0f6d57
Merge pull request #137 from cxgreat2014/patch-1
Fix README dragula css link
2022-02-23 10:52:21 +01:00
cxgreat2014
01d410ac16
Fix README dragula css link 2022-02-23 00:30:01 +08:00
Thomas Brouard
f29c5b00ae Keep nodeIntegration requirement (#120) 2021-07-19 13:32:15 +02:00
Thomas Brouard
4bb0726106 Commit package-lock.json 2021-07-19 13:11:32 +02:00
Thomas Brouard
55d1f1a492
Merge pull request #120 from toddtarsi/work-without-node-anything
feat: work without any nodeIntegration requirements
2021-07-19 12:54:12 +02:00
toddtarsi
0d130bb212
resetting let to var 2021-07-18 22:11:18 -05:00
Todd Tarsi
2b8e506f5a feat: work without any nodeIntegration requirements 2021-05-23 20:09:47 -05:00
Thomas Brouard
986f762ae1 Disable blank issues 2020-11-11 10:22:26 +01:00
Thomas Brouard
d86b597797 Update issue templates 2020-11-11 10:19:53 +01:00
Thomas Brouard
38444e6641 Bump version 0.15.0 2020-03-12 21:58:45 +01:00
Thomas Brouard
a15110a2bb Add tab.hasClass() method 2020-03-12 21:56:23 +01:00
Thomas Brouard
16d13ed95d Bump version 0.14.0 2020-03-10 22:45:23 +01:00
Thomas Brouard
a34fc68469 Add a way to abort closing (#53) 2020-03-10 22:38:20 +01:00
Thomas Brouard
601c7fc24c Fix demo appname 2020-03-10 21:53:22 +01:00
Thomas Brouard
52b6506c57 Add visibilityThreshold option 2020-03-10 21:46:55 +01:00
Thomas Brouard
fd330d3895 Bump version 0.13.0 2020-02-28 10:36:29 +01:00
Thomas Brouard
4cbbdbc033 Add "webview-dom-ready" event 2020-02-28 10:33:20 +01:00
Thomas Brouard
b866d47157 Correctly handle webview bool attributes (fix #99) 2020-02-28 10:21:33 +01:00
Thomas Brouard
05b8d9b689 Update issue template 2020-02-28 10:09:06 +01:00
Thomas Brouard
b68624a603 Preserve scroll Y pos when tab hidden (fix #100) 2020-02-28 10:08:52 +01:00
Thomas Brouard
50e125c566 Merge branch 'master' of github.com:brrd/electron-tabs 2020-02-19 18:39:09 +01:00
Thomas Brouard
8d830445cf Bump version 0.12.1 2020-02-19 18:37:56 +01:00
Thomas Brouard
857795e503 Fix #95 2020-02-19 18:37:38 +01:00
Thomas Brouard
30c4666921 Update issue templates 2020-02-04 13:55:12 +01:00
Thomas Brouard
b20f757c5d
Merge pull request #93 from brrd/develop
Version 0.12.0
2020-02-04 13:39:04 +01:00
Thomas Brouard
78e030d02c Version 0.12.0 2020-02-04 13:38:12 +01:00
Thomas Brouard
e5ada44107 Documentation update (webPreferences) 2020-02-04 12:14:55 +01:00
Thomas Brouard
8a222be7f7 Fix webview not focusing when created (fix #71) 2020-02-04 12:07:21 +01:00
Thomas Brouard
38eae5b72c Improve default closeButtonText 2020-02-04 12:00:41 +01:00
Thomas Brouard
504f36a6fd Fix double scrollbars (fix #44) 2020-02-04 11:58:28 +01:00
Thomas Brouard
8f1794c119 Fix webview overlapping tabs (fix #84) 2020-02-04 11:57:48 +01:00
Thomas Brouard
0c0a724245 Fix indent 2020-02-04 11:13:57 +01:00
Thomas Brouard
0c3e547782 Add editorconfig 2020-02-04 11:13:47 +01:00
Thomas Brouard
c84689b22f Demo: upgrade to electron 8 2020-02-04 10:43:08 +01:00
Thomas Brouard
441def7a16 Version 0.11.0 2019-10-15 15:13:01 +02:00
Thomas Brouard
1e4e5b0f07
Merge pull request #83 from inureyes/master
Hide webviews using visibility style instead of zero size (macOS tested)
fixes #59, closes #60
2019-10-15 15:08:47 +02:00
Jeongkyu Shin
6c84410481 update code for #59 2019-10-15 19:57:11 +09:00
Thomas Brouard
f75d5ada4b
Merge pull request #82 from GingkathFox/patch-1
update webview tab link
2019-10-07 13:36:21 +02:00
Gingka Akiyama
febbcd83c4
update webview tab link 2019-10-05 10:00:22 -04:00
Thomas Brouard
f8f21792b5 Version 0.10.0 2019-09-27 11:33:22 +02:00
Thomas Brouard
890469476b
Merge pull request #81 from LiamBest/master
Add inactive event to the tab that's no longer marked active
2019-09-27 11:28:14 +02:00
Thomas Brouard
5a58070f1d
Merge pull request #79 from kanryu/master
fixes #76 add options nodeIntegration,webviewTag into the demo for over electron-5.0
2019-09-27 11:27:36 +02:00
Liam Best
57e3bf6f92 Add a title to the span for hover 2019-09-26 15:51:50 +10:00
Liam Best
75b215b263 Also update README for new event 2019-09-24 16:09:53 +10:00
Liam Best
1c75a5876a Add inactive event for the tab being made inactive 2019-09-24 16:03:04 +10:00
KATO Kanryu
ea8a21f9ba add options nodeIntegration,webviewTag into the demo 2019-09-21 23:01:46 +09:00
Thomas Brouard
1bfb560b0a Version 0.9.5 2018-11-27 12:29:31 +01:00
Thomas Brouard
eeeebd41ce Fix type: getTab(id: number) 2018-11-27 12:28:48 +01:00
Thomas Brouard
8c1717503a
Merge pull request #70 from beig/master
Added id to interface Tab
2018-11-27 12:23:26 +01:00