Skip to content
/ html Public

replace the html content of an element with text, a string of html, or an element

Notifications You must be signed in to change notification settings

bmcmahen/html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html

replace the html content of a DOM element with a string or node

Installation

$ component install bmcmahen/html

API

	var html = require('bmcmahen-html');
	html(el, '<div>bacon</div>');

License

MIT

About

replace the html content of an element with text, a string of html, or an element

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published