From f70811368c4297475dc37363f39af531477fe85c Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 17 Mar 2018 14:13:32 +0100 Subject: [PATCH] Add the "why" --- readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme.md b/readme.md index a526d0e..026262c 100644 --- a/readme.md +++ b/readme.md @@ -33,6 +33,12 @@ For Usage and Examples, [have a look at demo](http://kamranahmed.info/driver) +## So, yet another tour library? + +**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. + +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. + ## Installation You can install it using `yarn` or `npm`, whatever you prefer -- GitLab