diff --git a/README.md b/README.md index cdf3de3..7042191 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,13 @@ $ npm install --save electron-tabs ## Usage -Add the following elements in the page HTML: +Add the following elements to the app page: ```html -
-
+
+
+
+
``` @@ -39,6 +41,12 @@ let tab = tabGroup.addTab({ }); ``` +If you don't want to write your own styles, you can also insert the sample electron-tabs stylesheet in the page header: + +```html + +``` + ## API ### Tab Group @@ -141,7 +149,6 @@ The following events are available: * `tab.on("unflash", (tab) => { ... });` * `tab.on("close", (tab) => { ... });` - ## License The MIT License (MIT) - Copyright (c) 2016 Thomas Brouard