BetaJS-Dynamics is a dynamic dom templating engine.
HTML JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benchmarks
demos
dist
docsrc
src
tests
vendors
.codeclimate.yml
.gitignore
.project
.travis.yml
Gruntfile.js
LICENSE
README.md
package-source.json
package.json

README.md

betajs-dynamics 0.0.122

Build Status Code Climate NPM Gitter Chat

BetaJS-Dynamics is a dynamic DOM templating engine.

Getting Started

You can use the library in the browser and compile it as well.

Browser

	<script src="betajs/dist/betajs.min.js"></script>
	<script src="betajs-browser/dist/betajs-browser.min.js"></script>
	<script src="betajs-dynamics/dist/betajs-dynamics.min.js"></script>

Compile

	git clone https://github.com/betajs/betajs-dynamics.git
	npm install
	grunt

Basic Usage

The Javascript Controller:

    dynamic = new BetaJS.Dynamics.Dynamic({
        element: document.querySelector("some_element"),
        initial : {
            attrs : {
                some_attribute : "This is some Text",
                some_boolean : true
            }
        }
    });

The HTML Element:

    <some_element ba-if="{{some_boolean}}">{{some_attribute}}</some_element>

Will evaluate to

    <some_element>This is some Text</some_element>

Links

Resource URL
Homepage https://betajs.com
Git git://github.com/betajs/betajs-dynamics.git
Repository https://github.com/betajs/betajs-dynamics
Blog https://blog.betajs.com
Twitter https://twitter.com/thebetajs
Gitter https://gitter.im/betajs/betajs-dynamics

Compatability

Target Versions
Firefox 6 - Latest
Chrome 18 - Latest
Safari 4 - Latest
Opera 12 - Latest
Internet Explorer 8 - Latest
Edge 12 - Latest
Yandex Latest
iOS 3.0 - Latest
Android 2.2 - Latest

CDN

Resource URL
betajs-dynamics.js http://cdn.rawgit.com/betajs/betajs-dynamics/master/dist/betajs-dynamics.js
betajs-dynamics.min.js http://cdn.rawgit.com/betajs/betajs-dynamics/master/dist/betajs-dynamics.min.js
betajs-dynamics-noscoped.js http://cdn.rawgit.com/betajs/betajs-dynamics/master/dist/betajs-dynamics-noscoped.js
betajs-dynamics-noscoped.min.js http://cdn.rawgit.com/betajs/betajs-dynamics/master/dist/betajs-dynamics-noscoped.min.js

Unit Tests

Resource URL
Test Suite Run

Dependencies

Name URL
betajs Open
betajs-browser Open

Weak Dependencies

Name URL
betajs-scoped Open
betajs-shims Open

Main Contributors

  • Victor Lingenthal
  • Oliver Friedmann

License

Apache-2.0

Sponsors

  • Ziggeo
  • Browserstack