Nodejs HTML Element Show show()

Here you can find the source of show()

Method Source Code

Element.prototype.show = function() {
  this.style.display = "block"
  return this/*from  ww w .  ja va2s  .c  om*/
}

Related

  1. show()
    Element.prototype.show = function() {
      this.style.display = 'block';
    };
    
  2. show()
    Element.prototype.show = function() {
      this.removeClass("hide");
      return this;
    if(typeof(String.prototype.trim) === "undefined") {
        String.prototype.trim = function() {
            return String(this).replace(/^\s+|\s+$/g, '');
        };
    
  3. display(show)
    HTMLElement.prototype.display = function display(show) {
        this.style.display = (show === true) ? "block" : "none";
    };