Skip to content

MokoJs/change-saved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moko-change-saved

Adds attr change saved for moko.

Usage Example

var moko = require('moko'),
    changeSavedEvent = require('moko-change-saved');

var User = moko('User')
           .attr('username');

User.use(changeSavedEvent);


User.on('username change saved', function(user, username) {
  // do something!
});

About

:attr change saved event for moko

Resources

Stars

Watchers

Forks

Packages

No packages published