Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (30 sloc) 597 Bytes
<link rel='stylesheet' href='build/build.css'>
<script src='build/build.js'></script>
<button class'trigger'>trigger</button>
var c = require('bmcmahen-confirmation');
var trigger = document.querySelector('button')
, confirmation;
trigger.onclick = function(){
confirmation = c({
title: 'hi',
content: 'hello',
cancel: 'Cancel',
okay: 'Delete'
console.log('Delete it.');
console.log('cancel it.');
Jump to Line
Something went wrong with that request. Please try again.