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

Evan You 2e5fc62dcb 0.1.4 13 年 前
dist 2e5fc62dcb 0.1.4 13 年 前
examples de1c1a1112 dynamic context computed properties 13 年 前
src 2d448ea5e5 use for loops instead of forEach whenever possible 13 年 前
test 5acc8a2986 computed properties!!! 13 年 前
wrappers 58363ebea8 fix sd-focus, comply with todomvc spec 13 年 前
.gitignore 5f5aa8fb40 0.1.0 13 年 前
.jshintrc a5e27b1174 naive implementation 13 年 前
Gruntfile.js 8eedfeacf9 computed properties now have access to context scope and element 13 年 前
LICENSE.md 75fc96a357 license 13 年 前
README.md b628893204 readme, format 13 年 前
TODO.md de1c1a1112 dynamic context computed properties 13 年 前
bower.json 2e5fc62dcb 0.1.4 13 年 前
component.json 2e5fc62dcb 0.1.4 13 年 前
package.json 2e5fc62dcb 0.1.4 13 年 前

README.md

Seed (WIP)

a mini MVVM framework

  • 6kb gzipped!
  • DOM based templates with precise and efficient manipulation
  • POJSO (Plain Old JavaScript Objects) Models FTW - even nested objects.
  • Auto dependency extraction for computed properties.
  • computed properties with 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