Commit graph

72 commits

Author SHA1 Message Date
Thomas Brouard a34fc68469 Add a way to abort closing (#53) 2020-03-10 22:38:20 +01:00
Thomas Brouard 52b6506c57 Add visibilityThreshold option 2020-03-10 21:46:55 +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 b68624a603 Preserve scroll Y pos when tab hidden (fix #100) 2020-02-28 10:08:52 +01:00
Thomas Brouard 857795e503 Fix #95 2020-02-19 18:37:38 +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 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
Jeongkyu Shin 6c84410481 update code for #59 2019-10-15 19:57:11 +09:00
Liam Best 57e3bf6f92 Add a title to the span for hover 2019-09-26 15:51:50 +10:00
Liam Best 1c75a5876a Add inactive event for the tab being made inactive 2019-09-24 16:03:04 +10:00
Thomas Brouard bf3631b791 Fix TabGroup.getTabs() (fixes #66) 2018-08-17 11:53:32 +02:00
maxos 7cbc3f7bd4 fixes #58 2018-08-07 14:21:16 -07:00
maxos 539b4cebde fixes #63 2018-08-06 19:26:46 -07:00
Thomas Brouard 577243a57d Fix webview rendering on OSX (fixes #22) 2018-02-21 20:07:33 +01:00
W Etheredge f1ef5f790c Remove parameter check from tab.setPosition 2017-11-19 03:58:07 +00:00
W Etheredge b0534b9fc7 Change tabGroup.getTabById to tabGroup.getTab 2017-11-16 14:13:23 +00:00
W Etheredge ed9e63e92f Make tab.setPosition not do anything if nothing is passed 2017-11-07 14:20:40 +00:00
W Etheredge 6c2ead8edd Add the ability to get tabs by a relative position.
Made 0 be an invalid position.
2017-11-05 21:38:01 -06:00
W Etheredge 4e36e14679 Add ability to get tabs by position as well as by id 2017-10-28 02:03:31 +01:00
W Etheredge 53dcb198f1 Add support for negative positions 2017-10-26 20:55:12 -05:00
W Etheredge 8d3f6183a0 Add basic methods for tab position 2017-10-26 18:36:19 -05:00
Thomas Brouard fd3ed944ba Merge pull request #41 from kontrollanten/autofocus-webviews
Focus on webview when opening tab
2017-10-04 09:42:47 +02:00
Alexander 3334ee9508 focus on webview when opening tab
make it possible to support autofocus on input elements inside a webview
2017-10-04 02:59:43 +02:00
Thomas Brouard 0b078d235d Use visibility: hidden to hide webviews 2017-09-14 17:39:15 +02:00
Thomas Brouard b579379d88 Add getTabs() and eachTab() methods to TabGroup
Closes #39
2017-09-14 17:23:49 +02:00
Alexander Wåland db5738fa7d Prevent undefined/false value to be set 2017-06-27 06:56:56 +02:00
Alexander Wåland c84d8194a5 Merge remote-tracking branch 'brrd/master' 2017-06-25 15:31:52 +02:00
Elton Chen-Yu Ho 7f91ffc5bd add comment describing previous changes 2017-06-14 22:51:10 +08:00
Elton Chen-Yu Ho 7871f41e54 fix issue #15 add duplicate tab when addTab with {active:true} 2017-06-14 21:30:04 +08:00
Alexander Wåland 24ba56dcd3 Add support for badges 2017-06-03 15:01:10 +02:00
Thomas Brouard be552d4266 Merge pull request #18 from rriclet/feature/closing
Feature/closing
2017-04-05 09:45:27 +02:00
Robin Riclet 218449d56a Restored whitespaces 2017-04-04 15:37:53 +02:00
Robin Riclet 12ccdb8cc2 Restored whitespaces 2017-04-04 15:07:27 +02:00
Robin Riclet cc838640a5 Added event closing 2017-04-04 15:05:24 +02:00
Robin Riclet 58258cbc65 Fixed force when calling tab.close() 2017-04-04 14:33:57 +02:00
Bastian 84c6d61156 Added "webview-ready" Event
This event is fired after the "did-finish-load" event of the webview of a tab was fired.
2017-02-16 14:24:00 +01:00
Bastian 06375a7973 Added support for icon libraries (e.g. Font Awesome) 2017-02-15 20:47:18 +01:00
Thomas Brouard 43b1fb7ae0 Fix newTabButtonText option 2016-11-02 21:21:56 +01:00
Thomas Brouard c26d32be47 Don't activate tab when clicking its close button 2016-11-02 21:13:46 +01:00
Thomas Brouard 7dd4b2aa98 Fix previous tab not activated on close 2016-11-02 21:05:43 +01:00
Thomas Brouard 6428039463 Activate on mousedown (dragula compatibility) 2016-11-02 17:56:16 +01:00
Thomas Brouard bbf8835397 Add "active" option 2016-11-02 16:37:23 +01:00
Thomas Brouard 9a8c60c3cf visible option defaults to true 2016-11-02 16:37:05 +01:00
Thomas Brouard 6cd6bec073 Change "+" and "x" default symbols 2016-11-02 14:48:08 +01:00
Thomas Brouard c1eda03445 Change default selectors 2016-11-02 12:41:18 +01:00
Thomas Brouard 31244686fe Don't change active tab if closed tab wasn't active 2016-11-01 16:09:43 +01:00
Thomas Brouard f6664f50d3 Make consistant API for flash and show 2016-11-01 16:05:09 +01:00