Add the "why"
Browse files
readme.md
CHANGED
@@ -33,6 +33,12 @@
|
|
33 |
|
34 |
For Usage and Examples, [have a look at demo](http://kamranahmed.info/driver)
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
## Installation
|
37 |
|
38 |
You can install it using `yarn` or `npm`, whatever you prefer
|
|
|
33 |
|
34 |
For Usage and Examples, [have a look at demo](http://kamranahmed.info/driver)
|
35 |
|
36 |
+
## So, yet another tour library?
|
37 |
+
|
38 |
+
**No it is not**. Tours is just one of the many usecases. Driver.js can be used **at any place where you need some sort of overlay** for the page, some common usecases could be e.g. dimming the background when user is interacting with some component i.e. [the way Facebook does](https://i.imgur.com/Q3PzaKk.png) when you try to create a post, or you can use it as a focus shifter to bring user's attention to some component on page or maybe you can use it to simulate those "Turn off the Lights" widgets that you might have seen on video players online etc.
|
39 |
+
|
40 |
+
Driver.js is written in Vanilla JS, has zero dependencies and is highly customizable. It has several options allowing you to manipulate how it behaves and also provides you the hooks to manipulate the elements as they are highlighted about to be highlighted or deselected.
|
41 |
+
|
42 |
## Installation
|
43 |
|
44 |
You can install it using `yarn` or `npm`, whatever you prefer
|