photobooth.js jquery

	<div id="example" class="photobooth" style="width:758px;height:400px"></div>
			
			<div id="gallery"></div>
	<script>
		 	
		 	
			 $('#example').photobooth().on("image",function( event, dataUrl ){
				$( "#gallery" ).append( '<img src="' + dataUrl + '" >');
				console.log(dataUrl)
			});
		 </script>
posted @ 2016-11-11 15:06  蚂蚁都督  阅读(422)  评论(0编辑  收藏  举报