This is the first page.
Push pageThis is the second page.
Hello World!
別ページに移動Hello World!
別ページに移動 ons.getScriptPage().onShow = function() { console.log('Show') } ons.getScriptPage().onInit = function() { console.log('Init') }Hello World!
別ページに移動 ons.getScriptPage().onShow = function() { console.log('Show') } ons.getScriptPage().onInit = function() { document.querySelector('#move').onclick = (e) => { document.querySelector('#nav').pushPage('detail.html'); } } const move = () => { document.querySelector('#nav').pushPage('detail.html'); }This is the first page Push Page 2
import customToolbar from './CustomToolbar';