Nodejs HTML Element Show display(show)

Here you can find the source of display(show)

Method Source Code

HTMLElement.prototype.display = function display(show) {
    this.style.display = (show === true) ? "block" : "none";
};

Related

  1. show()
    Element.prototype.show = function() {
      this.style.display = 'block';
    };
    
  2. show()
    Element.prototype.show = function() {
      this.style.display = "block"
      return this
    
  3. 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, '');
        };