Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 42 additions & 23 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,45 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Content-mirror pattern demo</title>
<script src="/dist/bundle.js"></script>
</head>
<body class="sidebar-left-open generic application- ">
<div id="content" class="application">
<h1>Content-mirror pattern demo</h1>
<p class="my-mirror"
><span class="text"
><em class="placeholder">Leave a comment</em></span
><em class="selected-users" id="selected-users"></em
><em class="selected-tags" id="selected-tags"></em
></p>
<textarea class="pat-content-mirror" placeholder="Type some text" data-pat-content-mirror="target:.my-mirror .text"></textarea>
<hr />
<p class="my-other-mirror"
><span class="text"
><em class="placeholder">I am the other mirror. Try me.</em></em
></p>
<textarea class="pat-content-mirror" placeholder="Say what's on your mind" data-pat-content-mirror="target:.my-other-mirror .text"></textarea>
</div>
</body>
<head>
<meta charset="utf-8" />
<title>Content-mirror pattern demo</title>
<script src="/bundle.min.js"></script>
</head>
<body class="sidebar-left-open generic application-">
<div class="application"
id="content"
>
<form>
<h1>Content-mirror pattern demo</h1>
<fieldset>
<p class="my-mirror">
<span class="text">
<em class="placeholder"></em>
</span>
</p>
<textarea class="pat-content-mirror"
placeholder="Type some text"
data-pat-content-mirror="target:.my-mirror .text"
autocomplete="off"
></textarea>
</fieldset>
<fieldset>
<p class="my-other-mirror">
<span class="text">
<em class="placeholder"></em>
</span>
</p>
<textarea class="pat-content-mirror"
placeholder="Say what's on your mind"
data-pat-content-mirror="target:.my-other-mirror .text"
autocomplete="off"
></textarea>
</fieldset>
<!-- Form reset -->
<input type="reset"
value="Reset"
/>
</form>
</div>
</body>
</html>
Loading