Commit graph

59 commits

Author SHA1 Message Date
Bastian Küppers
c0610a63ed Updated README for 'webview-ready' event. 2017-02-15 15:25:54 +01:00
Bastian Küppers
88f40b1c79 Added 'webview-ready' event
Added a 'webview-ready' event, which is fired, after the 'did-finish-load' event of the webview was fired.
2017-02-15 15:23:52 +01:00
Bastian Küppers
8db8047320 Added capabilities for icon libraries
With the new 'icon'-attribute, instead of loading images, not also icons from icon libraries, such as font awesome, can be used as tab icons.
2017-02-15 14:59:34 +01:00
Bastian Küppers
560bcea23d Update README.md
Updated README with information about the new 'icon' attribute.
2017-02-15 13:06:54 +01:00
Bastian Küppers
daff9b637f Update index.js
beautified code
2017-02-15 13:02:40 +01:00
Bastian Küppers
a861267b46 Update index.js 2017-02-15 12:58:52 +01:00
Bastian Küppers
537b87dbc0 Update index.js 2017-02-15 12:56:27 +01:00
Bastian Küppers
0589b632f6 Update index.js 2017-02-15 12:55:06 +01:00
Bastian Küppers
f01cc4cf9c Update index.js
Updated a few minor things.
2017-02-14 20:36:42 +01:00
Bastian Küppers
a22ea20422 Update index.js
added another option "icon" additionally to "iconURL". If "iconURL" is set, "icon" is ignored. If only "icon" is set, the value is treated as element of font awesome.
2017-02-14 20:32:59 +01:00
Bastian Küppers
cbaef7c236 Update index.js
Fixed formatting and remove debug-logging
2016-11-29 16:22:25 +01:00
Bastian Küppers
99a78390a3 Added font-awesome capabilities
Added a way to use font-awesome for the icons on the tabs. Requires font-awesome to be loaded in the HTML page that uses electron-tabs and the "iconURL" starting with "fa-".
2016-11-29 16:20:45 +01:00
Thomas Brouard
43b1fb7ae0 Fix newTabButtonText option 2016-11-02 21:21:56 +01:00
Thomas Brouard
82e1749b07 Bump version 0.4.2 2016-11-02 21:15:21 +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
b57253c82f Bump version 0.4.1 2016-11-02 18:20:53 +01:00
Thomas Brouard
c7f3b1b39e Remove warning 2016-11-02 18:20:34 +01:00
Thomas Brouard
a2c67409e8 Documentation about drag and drop 2016-11-02 18:19:56 +01:00
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