Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
Document the new sticky event.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Searle committed Apr 10, 2018
1 parent ab1b955 commit ff0a33e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -132,10 +132,11 @@ oHeader(('sticky', 'simple', 'anon', 'search', 'nav', 'megamenu'));

### Events

o-header fires the following event:
o-header fires the following events:

* `oHeader.MegaMenuShow`: When a mega menu is showed. The target of the event is the menu itself
* `oHeader.MegaMenuClose`: When a mega menu is closed. The target of the event is the menu itself
* `oHeader.MegaMenuShow`: When a mega menu is shown. The target of the event is the menu itself.
* `oHeader.MegaMenuClose`: When a mega menu is closed. The target of the event is the menu itself.
* `oHeader.Sticky`: When the header changes to or from sticky. The event detail will contain an `isActive` boolean indicated sticky or not. The target of the event is the menu itself.

## Browser Support

Expand Down

0 comments on commit ff0a33e

Please sign in to comment.