https://github.com/scarletsfiction/sfdynamichtml
Dynamically change content of a html on the client-side
https://github.com/scarletsfiction/sfdynamichtml
html mvw-framework
Last synced: about 1 month ago
JSON representation
Dynamically change content of a html on the client-side
- Host: GitHub
- URL: https://github.com/scarletsfiction/sfdynamichtml
- Owner: ScarletsFiction
- License: mit
- Created: 2018-07-29T08:12:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T06:39:43.000Z (about 6 years ago)
- Last Synced: 2025-04-11T01:10:06.357Z (about 1 month ago)
- Topics: html, mvw-framework
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](LICENSE)
[](LICENSE)# SFDynamicHTML
SFDynamicHTML is a library that allow you to dynamically load HTML content from client-side/browser.This library was useful to lazily change DOM content.
## Sample Usage
```html
SFDynamicHTML('user', {
1:{
html:"First",
src:"https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg",
href:"https://en.wikipedia.org/wiki/File:Test_image.jpg"
},
2:{
html:"Second",
src:"https://upload.wikimedia.org/wikipedia/en/9/95/Test_image.jpg",
href:"https://en.wikipedia.org/wiki/File:Test_image.jpg"
}
}, document.querySelector('.user-list') || false)```
## Contribution
If you want to help in SFDynamicHTML library
Please fork this project and edit on your repository, then make a pull request to here.Keep the code simple and clear.
## License
SFDynamicHTML is under the MIT license.
But don't forget to put the a link to this repository.