DynamicDOM
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
adapters
build
tests
LICENSE
README.md
ddom.js
examples.html

README.md

DynamicDOM

DOM generation, clean and simple.

_dd.create('div', {
    content: [
        'A simple way to generate DOM trees from code: ',
        { tag: 'a', href: 'https://github.com/nickwb/ddom', content: 'DynamicDOM'}
    ]
});

DynamicDOM is:

  • Simple, intuitive and powerful.
  • Compatible with all major browsers.
  • Available as a standalone library, or with a jQuery adapter.
  • Licensed under the MIT license.

Tiny:

  • Standalone - 1.6KB minified, 850 Bytes gzipped.
  • Using jQuery Adapter - 1.0KB minified, 540 Bytes gzipped.

Features:

  • Easily create DOM trees of any depth.
  • Utilities are provided to easily bind events and set CSS styles/classes.
  • Function evaluation to generate subtrees.

Next Steps: