codepens/mutationobserver-example/dist/index.html

24 lines
527 B
HTML

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - MutationObserver Example</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<!--
Ported directly from the example in Jeff Griffith's article:
https://hacks.mozilla.org/2012/05/dom-mutationobserver-reacting-to-dom-changes-without-killing-browser-performance/
-->
<ol contenteditable>
<li>Press enter</li>
</ol>
<!-- partial -->
<script src="./script.js"></script>
</body>
</html>