Skip to content

blearjs/blear.classes.mvvm

Repository files navigation

blear.classes.mvvm

npm module build status coverage

usage

<div id="app">{{message}}</div>
+
var mvvm = new MVVM({
    el: '#app',
    data: {
        message: 'Hello blear'
    }
});
=
<div id="app">Hello blear</div>

Options

el

data

methods

watch

directives

api

#directive(name, definition)

#watch(expOrFn, callback, [options])

#destroy()

.directive(name, definition)

Releases

No releases published

Packages

No packages published