This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Evan You 75a4850afb allow multiple VMs sharing one data object %!s(int64=12) %!d(string=hai) anos
dist 84538d6dae wip %!s(int64=12) %!d(string=hai) anos
examples 75a4850afb allow multiple VMs sharing one data object %!s(int64=12) %!d(string=hai) anos
src 75a4850afb allow multiple VMs sharing one data object %!s(int64=12) %!d(string=hai) anos
test 5acc8a2986 computed properties!!! %!s(int64=12) %!d(string=hai) anos
wrappers 58363ebea8 fix sd-focus, comply with todomvc spec %!s(int64=12) %!d(string=hai) anos
.gitignore 5f5aa8fb40 0.1.0 %!s(int64=12) %!d(string=hai) anos
.jshintrc a5e27b1174 naive implementation %!s(int64=12) %!d(string=hai) anos
Gruntfile.js caed31fd02 unobserve when setting new values %!s(int64=12) %!d(string=hai) anos
LICENSE.md 75fc96a357 license %!s(int64=12) %!d(string=hai) anos
README.md bf01a14629 support nested VMs and update examples to use new API %!s(int64=12) %!d(string=hai) anos
TODO.md 6ec70eb4a4 trying to fix nested props %!s(int64=12) %!d(string=hai) anos
bower.json e9f2223d3a 0.2.1, remove $on/$off %!s(int64=12) %!d(string=hai) anos
component.json caed31fd02 unobserve when setting new values %!s(int64=12) %!d(string=hai) anos
package.json e9f2223d3a 0.2.1, remove $on/$off %!s(int64=12) %!d(string=hai) anos

README.md

Seed (WIP)

a mini MVVM framework

  • 7kb gzipped, no dependency.
  • DOM based templates with precise and efficient manipulation
  • POJSO (Plain Old JavaScript Objects) Models FTW - even nested objects.
  • Logic-less templating which enforces separation of concerns.
  • Auto dependency extraction for computed properties.
  • Computed properties can have dynamic context.
  • Auto event delegation on repeated items.
  • Component based, can be used as a CommonJS module but can also be used alone.

Browser Support

  • Chrome 8+
  • Firefix 3.6+
  • Safari 5.1+
  • IE9+ (IE9 needs classList polyfill)
  • Opera 11.6+
  • Android browser 3.0+
  • iOS Safari 5.0+

[Doc under construction...]

Template

Controller

  • Nested Controllers and accessing parent scope
  • Controller inheritance

Data

Data Binding

Event Handling

Filters

Computed Properties

Custom Filter

Custom Directive