INNER CODE UNIT · JavaScript

removeHighlight

moshang-ax/lottery · product/src/lottery/index.js:356

function removeHighlight() {
  document.querySelectorAll(".highlight").forEach(node => {
    node.classList.remove("highlight");
  });
}

function addHighlight() {
  document.querySelectorAll(".lightitem").forEach(node => {
    node.classList.add("highlight");
  });
}

/**
 * 渲染地球等
 */
function transform(targets, duration) {
  // TWEEN.removeAll();
  for (var i = 0; i < threeDCards.length; i++) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…