whole_func_string: function (el, ordinal) {
              if ($(el).data('popup-visible')) {
                  methods.hide(el);
              } else {
                  setTimeout(function() {
                      methods.show(el, ordinal);
                  }, 0);
              }
          }
func_code_string: function (el, ordinal) {
              if ($(el).data('popup-visible')) {
                  methods.hide(el);
              } else {
                  setTimeout(function() {
                      methods.show(el, ordinal);
                  }, 0);
              }
          }
func_documentation_string: Toggle method
  
  @param {object} el - popup instance DOM node
  @param {number} ordinal - order number of an `open` element