Skip to content
Evan You edited this page Dec 15, 2013 · 21 revisions

Topics

Examples

  • TodoMVC Implementation : a fully specification-compliant TodoMVC implementation in ~110 SLOC.
  • Firebase Example : a no-backend, multi-user realtime list with form validation.
  • Component Example : an example of a highly-modular app architecture using Component as the build system.

API Reference

  • Vue.config(options)
  • Vue.directive(name, [directive])
  • Vue.filter(name, [filter])
  • Vue.component(name, [component])
  • Vue.element(name, [element])
  • Vue.partial(name, [partial])
  • Vue.transition(name, [transition])
  • Vue.extend(options)
  • Data & Logic
    • scope
    • proto
  • DOM Element
    • el
    • template
    • replace
    • id
    • tagName (only honored is el is not present)
    • className
    • attributes
  • Hooks
    • init
    • teardown
  • Encapsulation
    • directives
    • filters
    • components
    • elements
    • partials
  • Misc
    • lazy
  • vm.$watch(keypath, callback)
  • vm.$unwatch(keypath, [callback])
  • vm.$on(event, callback)
  • vm.$off([event, callback])
  • vm.$emit(event, [args...])
  • vm.$broadcast(event, [args...])
  • vm.$destroy()
  • v-text
  • v-html
  • v-visible
  • v-show
  • v-class
  • v-attr
  • v-style
  • v-on
  • v-if
  • v-repeat
  • v-model
  • capitalize
  • uppercase
  • lowercase
  • currency
  • pluralize
  • key
Clone this wiki locally