Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Feb 14, 2017
Embed
What would you like to do?
7.md
<div class="sample-wrap">
<label>メッセージ表示</label><br>
<button class="draggable-popup">開く</button>
</div>
<script type="text/ejs" id="multi-popup">
<div>[%= modal ? 'modal' : 'modeless' %]なポップアップです</div>
<br>
<div>
<button class="modal">modalで開く</button>
<button class="modeless">modelessで開く</button>
</div>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment