1.2.0 • Published 10 years ago

miniview v1.2.0

Weekly downloads
8
License
-
Repository
github
Last release
10 years ago

MiniView

Build Status NPM version Gittip donate button Flattr donate button PayPayl donate button

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

Install

Node, Browserify

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

Ender

  • Use: require('miniview')
  • Install: ender add miniview

Usage

# 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()}""
		@

History

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

Contribute

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

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Gittip donate button Flattr donate button PayPayl donate button

Contributors

These amazing people have contributed code to this project:

Become a contributor!

License

Licensed under the incredibly permissive MIT license

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

1.2.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago