Skip to content

finom/seemple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matreshka.js Framework GitHub version npm version

Matreshka Website

Build Status devDependency Status Dependency Status Issue Stats Issue Stats Coverage Status Join the chat at https://gitter.im/finom/matreshka

<input class="first-name" type="text">
<input class="last-name" type="text">

<output class="last-name"></output>

<script src="matreshka.min.js"></script>
<script>
var app = new Matreshka();

app.bindNode({
	firstName: 'input.first-name',
	lastName: 'input.last-name',
	fullName: 'output.full-name'
})
.linkProps('fullName', 'firstName lastName', function(firstName, lastName) {
	return firstName + ' ' + lastName;
});

app.firstName = 'Brendan';
app.lastName = 'Eich';

alert(app.fullName);
</script>

Matreshka is small and powerful reactive JavaScript framework that allows you to build single page applications as easy as possible.

  • Two-way data-bindings in JavaScript files.
  • It's simple. Really. You don't need to learn mass of articles to get started.
  • Custom architecture. You can choose any way how you build an application.
  • It's fast!

Sponsoring by Shooju


Download

Install via NPM

npm install --save matreshka

Install via Bower

bower install matreshka

CDN

<script src="https://cdn.jsdelivr.net/matreshka/latest/matreshka.min.js"></script>

Resources

License: MIT License