Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax authored Jul 29, 2024
1 parent 659cc3e commit 9fd598d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions demo/issue-77b/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
});
}

btnBase.addEventListener(`click`, () => enableBaseLine());
btnPres.addEventListener(`click`, () => enablePressHold());
btnPress5.addEventListener(`click`, () => enablePressHold5());

document.addEventListener(`dragover`, (e) => e.preventDefault());

document.addEventListener(`drop`, (e) => {
Expand All @@ -35,9 +39,9 @@
</head>

<body>
<button onclick="enableBaseLine">baseline</button>
<button onclick="enableBaseLine">presshold</button>
<button onclick="enableBaseLine">presshold + 5</button>
<button id="btnBase">baseline</button>
<button id="btnPress">presshold</button>
<button id="btnPress5">presshold + 5</button>

<p>window A</p>

Expand Down

0 comments on commit 9fd598d

Please sign in to comment.