Nodejs HTML Element Show show()

Here you can find the source of show()

Method Source Code

Element.prototype.show = function() {
   this.removeClass("hide");
   return this;//www. j a v a 2s .  co  m
}

if(typeof(String.prototype.trim) === "undefined") {
    String.prototype.trim = function() {
        return String(this).replace(/^\s+|\s+$/g, '');
    };
}

Related

  1. show()
    Element.prototype.show = function() {
      this.style.display = 'block';
    };
    
  2. show()
    Element.prototype.show = function() {
      this.style.display = "block"
      return this
    
  3. display(show)
    HTMLElement.prototype.display = function display(show) {
        this.style.display = (show === true) ? "block" : "none";
    };