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
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
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
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