Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

nickwb/ddom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Releases

No releases published

Packages

No packages published