INNER CODE UNIT · JavaScript

activeTh

ongres/stackgres · stackgres-k8s/src/admin-ui/src/main.js:73

      let activeTh = null; // the th being resized
      let neighbourghTh = null; // the next except when the last column is being resized in that case it is the previous
      let resizing = false; // a resize started needed because we can not detect event handler was attached or not
      table.style.position = 'relative';

      applyTableWidth();

      ths.forEach((th, index) => {
          // initilise the width if th does not already have it
          if (!th.style.width) {
              th.style.width = th.offsetWidth + 'px';
          }

          th.originalWidth = th.style.width;
          const bar = document.createElement('div');

          bar.style.position = 'absolute';
          bar.style.right = 0;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…