Skip to content

Latest commit

 

History

History
62 lines (55 loc) · 1.67 KB

index.md

File metadata and controls

62 lines (55 loc) · 1.67 KB
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXXXXX'); </script> <title>Feedback Plugin</title>
Feedback Plugin
		<div class="page-content">
        	<p class="showfb">Show Feedback Dialog</p>
		</div>
	</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/framework7/5.7.14/js/framework7.bundle.min.js"></script> <script src="framework7.feedback.js"></script> <script> Framework7.use(feedbackPlugin); var $$ = Dom7; var app = new Framework7({ root: '#app', feedback: { time_delay: 2000, show_once: false, }, }); var mainView = app.views.create('.view-main'); </script> <script> // This below code is used only for this demo page, no need to add at yours ;) Dom7(document).on('click', ".showfb", function (e) { app.feedback.open(); }); </script>