Skip to content

Commit

Permalink
Added mlaursen#16: Nested Dropdown Menu Delay
Browse files Browse the repository at this point in the history
Added the nested dropdown menu delay to have a default time of 500ms.
Removed the examples from the git repo since it isn't really helpful to view those babelified files.
Updated readme with new info.
  • Loading branch information
mlaursen committed Sep 7, 2015
1 parent f4a1d1c commit c94e168
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 23,274 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ build/Release
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
.sass-cache

examples
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Live Example: http://codepen.io/mlaursen03/full/PqVjMm/

> Live Example might not be up to date
An up-to-date example is available in the `examples` folder. You can run `gulp --examples` to start up the example.
An up-to-date example is available in the `examples` folder. You can run `gulp serve --examples` to start up the example.

### Installation

Expand Down Expand Up @@ -51,6 +51,7 @@ $ npm install -S react-dd-menu
* `direction` - The animation direction.
* One of `left`, `right`
* `upwards` - boolean if the nested menu should render upwards. Defaults to `false`
* `delay` - A number in ms to allow the mouse to be off of the dropdown menu to close it. Defaults to `500ms`

### Styling
In the `dist` folder, there is a `react-dd-menu.css` and a `react-dd-menu.min.css` with the default css stylings. If you have SASS, the source is located in `src/scss`.
Expand Down
15 changes: 0 additions & 15 deletions examples/index.html

This file was deleted.

Loading

0 comments on commit c94e168

Please sign in to comment.