Commit graph

59 commits

Author SHA1 Message Date
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
Thomas Brouard e7f8111e03 Add visible option to show tab when ready 2016-11-01 15:16:38 +01:00
Thomas Brouard d6588fd2e7 Add tabGroup.getTab() method 2016-11-01 14:43:42 +01:00
Thomas Brouard d17be60941 Isolate private methods 2016-11-01 14:40:03 +01:00
Thomas Brouard 1e333877f4 Add ready callbacks for TabGroup and Tab 2016-11-01 13:53:19 +01:00
Thomas Brouard fe859786ae addTab and options.newTab can be a function 2016-11-01 11:21:48 +01:00
Thomas Brouard e98e4141c5 Chainable methods 2016-11-01 11:17:57 +01:00
Thomas Brouard 9fd514637c Add hide/show methods 2016-11-01 11:13:00 +01:00
Thomas Brouard 8f3b243a6f Freeze closed tabs methods 2016-11-01 11:05:21 +01:00
Thomas Brouard 0f69a9f441 Add events 2016-11-01 10:56:07 +01:00
Thomas Brouard 51777efe21 Fix tabs activation 2016-11-01 10:13:56 +01:00
Thomas Brouard 35bbcf88ea Add newTab button option 2016-11-01 09:58:28 +01:00
Thomas Brouard 4b2a2476ea Prevent closing tab when closable is set to false 2016-10-31 18:08:24 +01:00
Thomas Brouard fd69f6bbe5 Make the close button text customisable 2016-10-31 18:03:28 +01:00