Skip to content

Commit 998c7a3

Browse files
author
Kyle Andrews
committed
Added callback showcase to the demo
1 parent c1d53ba commit 998c7a3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,14 @@
272272
],
273273
closeable: true,
274274
callback: function(value){
275-
console.log(value);
275+
if(value === 'reload')
276+
{
277+
window.alert('You clicked reload');
278+
}
279+
else if(value === 'close')
280+
{
281+
window.alert('You clicked close');
282+
}
276283
}
277284
});
278285
});

0 commit comments

Comments
 (0)