new hooks

Evan You 2013-12-17 12:00:12 -05:00
parent 69bb69353f
commit c694c15c10
2 changed files with 17 additions and 5 deletions

10
Home.md

@ -44,8 +44,10 @@
- [className](wiki/Instantiation-Options#classname)
- [attributes](wiki/Instantiation-Options#attributes)
- [Hooks](wiki/Instantiation-Options#hooks)
- [init](wiki/Instantiation-Options#init)
- [teardown](wiki/Instantiation-Options#teardown)
- [beforeCompile / created](wiki/Instantiation-Options#beforecompile)
- [afterCompile / ready](wiki/Instantiation-Options#aftercompile)
- [beforeDestroy](wiki/Instantiation-Options#beforedestroy)
- [afterDestroy](wiki/Instantiation-Options#afterdestroy)
- [Private Assets](wiki/Instantiation-Options#private-assets)
- [directives](wiki/Instantiation-Options#directives)
- [filters](wiki/Instantiation-Options#filters)
@ -63,6 +65,10 @@
- [vm.$off([event, callback])](wiki/Instance-Methods#vmoffevent-callback)
- [vm.$emit(event, [args...])](wiki/Instance-Methods#vmemitevent-args)
- [vm.$broadcast(event, [args...])](wiki/Instance-Methods#vmbroadcastevent-args)
- [vm.$appendTo()](wiki/Instance-Methods#vmappendto)
- [vm.$before()](wiki/Instance-Methods#vmbefore)
- [vm.$after()](wiki/Instance-Methods#vmafter)
- [vm.$remove()](wiki/Instance-Methods#vmremove)
- [vm.$destroy()](wiki/Instance-Methods#vmdestroy)
### [Directives](wiki/Directives)

@ -13,10 +13,16 @@
#### className
#### attributes
## Hooks
## Lifecycle Hooks
#### init
#### teardown
#### beforeCompile
**alias: created**
#### afterCompile
**alias: ready**
#### beforeDestroy
#### afterDestroy
## Private Assets