Skip to content

Commit 3b51796

Browse files
committed
Update README.md
1 parent 887da2c commit 3b51796

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ angular.module('test', ['mega-menu']);
2525

2626
- Use bootstrap-ui dropdown directive
2727
- Use dropdown directive.
28-
- Set event-toggle attribute, default value is 'click', you can set value 'mouseover'.
28+
- Set toggle-event attribute, default value is 'click', you can set value 'mouseover'.
2929

3030
```html
3131
...
3232
<li class="dropdown" dropdown>
33-
<a class="dropdown-toggle" dropdown-toggle event-toggle="mouseover" href="#">Classic<b class="caret"></b></a>
33+
<a class="dropdown-toggle" dropdown-toggle toggle-event="mouseover" href="#">Classic<b class="caret"></b></a>
3434
<ul role="menu" class="dropdown-menu">
3535
<li><a tabindex="-1" href="#"> Action </a></li>
3636
<li><a tabindex="-1" href="#"> Another action </a></li>
@@ -44,3 +44,7 @@ angular.module('test', ['mega-menu']);
4444
### Example
4545

4646
Please visit http://get-set.cn/angular-mega-menu/
47+
48+
### How to extend angular directive
49+
50+
You can refer [Experiment: Decorating Directives](http://angular-tips.com/blog/2013/09/experiment-decorating-directives/) or [My Note](https://github.com/hjzheng/CUF_meeting_knowledge_share/issues/34)

0 commit comments

Comments
 (0)