miniview

Miniature (Spine/Backbone like) views for your client-side app. Respects garbage collection.

MiniView

Miniature (Spine/Backbone like) views for your client-side app. Respects garbage collection.

Node, Browserify

  • Use: require('miniview')
  • Install: npm install --save miniview

Ender

  • Use: require('miniview')
  • Install: ender add miniview
# Import 
MiniView = require('miniview').View
 
# Extend MiniView 
class Editview extends MiniView
    elements:
        '.field-title :input': '$title'
        'form': '$form'
 
    events:
        'submit form': 'submitForm'
 
    submitForm: (e) =>
        alert "Hello #{@$title.val()}""
        @

Discover the change history by heading on over to the History.md file.

Discover how you can contribute by heading on over to the Contributing.md file.

These amazing people are maintaining this project:

  • Benjamin Lupton b@lupton.cc (https://github.com/balupton)

No sponsors yet! Will you be the first?

These amazing people have contributed code to this project:

Become a contributor!

Licensed under the incredibly permissive MIT license

Copyright © 2013+ Bevry Pty Ltd us@bevry.me (http://bevry.me)