Commit graph

40 commits

Author SHA1 Message Date
Thomas Brouard 39164158e1 Improve dragula support 2016-11-02 17:59:56 +01:00
Thomas Brouard 6428039463 Activate on mousedown (dragula compatibility) 2016-11-02 17:56:16 +01:00
Thomas Brouard d4e6d471b2 Bump version 0.4.0 2016-11-02 17:14:21 +01:00
Thomas Brouard ff4cdf3b6b Documentation: insert electron-tabs.css 2016-11-02 17:13:41 +01:00
Thomas Brouard 3d002db73c Add screenshot 2016-11-02 17:04:19 +01:00
Thomas Brouard 329fddbfe7 Add basic styles 2016-11-02 17:03:47 +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 790cbfca76 Bump version 0.3.0 2016-11-01 16:32:38 +01:00
Thomas Brouard 8b3341ebc7 Add documentation 2016-11-01 16:28:30 +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 6b644b3b18 Bump version 0.2.0 2016-10-31 18:09:42 +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
Thomas Brouard 9f50d55dcd Middle click on a tab closes it 2016-10-31 17:59:13 +01:00
Thomas Brouard 77e36dbffd Add close button to tabs 2016-10-31 17:45:03 +01:00
Thomas Brouard 0e4b24156a Support iconURL 2016-10-31 17:24:50 +01:00
Thomas Brouard b57f1a8d75 Fix .close() not working 2016-10-31 16:49:15 +01:00
Thomas Brouard b0e0ad1876 .flash() flag defaults to true 2016-10-31 16:45:11 +01:00
Thomas Brouard 9105285e2e Keep config in a separate object 2016-10-31 16:41:25 +01:00
Thomas Brouard 14037c2e59 Add element classname to config 2016-10-31 16:35:23 +01:00
Thomas Brouard 80b04f65a5 Package.json update 2016-10-31 16:13:44 +01:00
Thomas Brouard ebfebdaf21 Add minimal documentation 2016-10-31 16:10:14 +01:00
Thomas Brouard fbbd7ddecd Working tabs (experimental) 2016-10-31 15:53:50 +01:00
Thomas Brouard aed91459f8 Tab object (draft) 2016-10-27 22:38:20 +02:00
Thomas Brouard 72cc110fff Initial commit 2016-10-27 22:37:40 +02:00