Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/devtools/client/responsive/test/browser/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

SSL touch.html   Interaktion und
PortierbarkeitHTML

 

 products/Sources/formale Sprachen/C/Firefox/devtools/client/responsive/test/browser/touch.html


<!DOCTYPE html>

<meta charset="utf-8" />
<meta name="viewport" />
<title>test</title>


<style>
  div {
    border: 1px solid red;
    width: 100px; height: 100px;
  }
</style>

<div data-is-delay="false"></div>

<script type="text/javascript">
  "use strict";
  const div = document.querySelector("div");
  let initX, initY;

  div.style.transform = "none";
  div.style.backgroundColor = "";

  div.addEventListener("touchstart", function (evt) {
    const touch = evt.changedTouches[0];
    initX = touch.pageX;
    initY = touch.pageY;
  }, true);

  div.addEventListener("touchmove", function (evt) {
    const touch = evt.changedTouches[0];
    const deltaX = touch.pageX - initX;
    const deltaY = touch.pageY - initY;
    div.style.transform = "translate(" + deltaX + "px, " + deltaY + "px)";
  }, true);

  div.addEventListener("touchend", function (evt) {
    if (!evt.touches.length) {
      div.style.transform = "none";
    }
  }, true);

  div.addEventListener("mouseenter", function () {
    div.style.backgroundColor = "red";
  }, true);
  div.addEventListener("mouseover", function() {
    div.style.backgroundColor = "red";
  }, true);

  div.addEventListener("mouseout", function () {
    div.style.backgroundColor = "blue";
  }, true);

  div.addEventListener("mouseleave", function () {
    div.style.backgroundColor = "blue";
  }, true);

  div.addEventListener("mousedown", null, true);

  div.addEventListener("mousemove", null, true);

  div.addEventListener("mouseup", null, true);

  div.addEventListener("click", null, true);
</script>

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.11Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-09-30) ¤

*Eine klare Vorstellung vom Zielzustand






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.