Is it possible to initiate dom7 in component pages e.g pages/user-signup.html
<script>
return {
mounted(){
const self = this;
const app = self.$f7;
// var $$ = self.$Dom7;
Not working
$$("#g-user-signup-form").on('formAjaxSuccess', function (formEl, data, xhr) {
// hide preloader
setTimeout(function () {
app.dialog.close();
// redirect the user to the confirm otp page
var view = app.views.create(".view-main",{
url: '/'
});
view.router.navigate('/user-verification/');
}, 3000);
}
}
<script>