Hello.
I used to work with the usual Framework7. Now I switched to a project created in the CLI. I can’t understand how to access DOM elements and listen to events like $$(’.class_el’) e.t.c… how to use $$ outside app.js ?
Everything is different here
or, for example, these methods: which is more correct?
app.f7.dialog.alert('test')
this.app.dialog.alert('test')
this.$app.dialog.alert('test')
this.$f7.dialog.alert('test')
and if used common methods in app.js,
routing does not work, tell me, what could be the problem?
I usually used:
this.views.main.router.navigate('/name_page/');
not working(