ractive-adaptors-bacon

0.1.0 • Public • Published

Ractive.js bacon adaptor plugin

Find more Ractive.js plugins at docs.ractivejs.org/latest/plugins

See the demo here.

Usage

Include this file on your page below Ractive, e.g:

<script src='lib/ractive.js'></script>
<script src='lib/ractive-adaptors-bacon.js'></script>

Or, if you're using a module loader, require this module:

// requiring the plugin will 'activate' it - no need to use the return value
require( 'ractive-adaptors-bacon' );

Then, tell Ractive to use the Bacon adaptor:

ractive = new Ractive({
  el: 'body',
  template: myTemplate,
  adapt: 'Bacon',
  data: {
    foo: someReactiveProperty
  }
});

Notes

This is a work-in-progress! In particular, two-way binding is not yet implemented.

License

Copyright (c) 2014 Rich Harris. Licensed MIT

Created with the Ractive.js plugin template for Grunt.

Readme

Keywords

none

Package Sidebar

Install

npm i ractive-adaptors-bacon

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • rich_harris