https://github.com/danielrohers/dom
Plugin for DOM manipulation
https://github.com/danielrohers/dom
Last synced: 9 months ago
JSON representation
Plugin for DOM manipulation
- Host: GitHub
- URL: https://github.com/danielrohers/dom
- Owner: danielrohers
- License: other
- Created: 2014-10-31T18:33:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-31T18:36:04.000Z (over 11 years ago)
- Last Synced: 2025-03-18T03:31:44.044Z (over 1 year ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DOM
Plugin for DOM manipulation
#### dom.create(name, properties)
```js
dom.create('input', {
'name': 'name'
});
//
```
#### dom.create(name, properties, assignmentProperties)
```js
dom.create('button', {
'type': 'submit',
}, {
'innerHTML': 'Submit'
});
// Submit
```