code: function onCardHeaderClick(e) {
    if (/** @type {!Element} */(e.target).nodeName == 'A') {
      return;
    }
  
    /** @type {?Node} */
    const node = /** @type {!Element} */(e.currentTarget).parentNode;
    if (node && node.nodeType === NodeType.ELEMENT) {
      const card = /** @type {!Element} */(node);
      if (card.classList && card.classList.contains('property')) {
        card.classList.toggle('open');
      }
    }
  }
docs: Responds to click events on a property card.
  
  @param {!Event} e The click event.