html
This method can be used to set or retrieve the HTML content of the elements.
// Set the HTML content of the elements
html: function(html) {
this.elements.forEach(function(element) {
element.innerHTML = html;
});
return this;
},
// Get the HTML content of the first element
html: function() {
return this.elements[0].innerHTML;
}