FerrugemJS 2.0.5

FerrugemJS 2.0.5

  • About
  • Doc
  • GitHub
  • Help

Simple and Convencional

Inspired from Aurelia.

Reactive

Inspired from React.

Lite and Powerfull

No jquery required, only 2kB!

Template

<template>
  <div>
    <ol>
      <li each="todo in this.todos">
        <em>${todo}</em>
      </li>
    </ol>
    <input 
      type="text" 
      value="${''}" 
      change.bind="this.desc"/>
  </div>
</template>

JavaScript

export class TodoList{  
  constructor(){
    this.todos = ['do a test'];
  }
  set desc(desc){
    if(desc && desc.trim()){
      this.todos.push(desc);
    }
  }
}

Result

FerrugemJS 2.0.5
Docs
Getting StartedAbout
Community
Help
More
BlogGitHubStar