Skip to content

Instantly share code, notes, and snippets.

Created Apr 16, 2018
What would you like to do?
<ons-page id="tab1detail">
<p style="text-align: center;">
<ons-button class="btn" modifier="large">戻る</ons-button>
ons.getScriptPage().onInit = function() {
const tab1DetailController = {
__name: 'Tab1DetailController',
'.btn click'() {
this.trigger('changeTitle', {
back: false,
title: 'メイン'
h5.core.controller('#tab1detail', tab1DetailController);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment