mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(menuToggle): menu-toggle to menuToggle
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar hide-back-button class="android-attr">
|
||||
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<ion-navbar *navbar hide-back-button class="android-attr">
|
||||
|
||||
<button menu-toggle="leftMenu">
|
||||
<button menuToggle="leftMenu">
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<ion-navbar *navbar hide-back-button class="android-attr">
|
||||
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
@@ -12,5 +12,5 @@
|
||||
|
||||
|
||||
<ion-content padding>
|
||||
<button block menu-toggle>Toggle Menu</button>
|
||||
<button block menuToggle>Toggle Menu</button>
|
||||
</ion-content>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<ion-navbar *navbar hide-back-button class="android-attr">
|
||||
|
||||
<button menu-toggle="leftMenu">
|
||||
<button menuToggle="leftMenu">
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
|
||||
<button menu-toggle="leftMenu">
|
||||
<button menuToggle="leftMenu">
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
|
||||
<button menu-toggle="leftMenu">
|
||||
<button menuToggle="leftMenu">
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
|
||||
<button menu-toggle="leftMenu">
|
||||
<button menuToggle="leftMenu">
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
|
||||
<button menu-toggle="leftMenu">
|
||||
<button menuToggle="leftMenu">
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
|
||||
<button menu-toggle="leftMenu">
|
||||
<button menuToggle="leftMenu">
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import {App, ActionSheet, IonicApp, IonicView, Register} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: '<ion-navbar *navbar primary>' +
|
||||
'<ion-title>Heading</ion-title>' +
|
||||
'<button menu-toggle="menu">' +
|
||||
'<button menuToggle="menu">' +
|
||||
'<icon menu></icon>' +
|
||||
'</button>' +
|
||||
'<ion-buttons end>' +
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{p.title}}
|
||||
</button>
|
||||
|
||||
<button ion-item menu-toggle>
|
||||
<button ion-item menuToggle>
|
||||
Close Menu
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar>
|
||||
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<h3>Page 1</h3>
|
||||
|
||||
<p>
|
||||
<button menu-toggle>Toggle Menu</button>
|
||||
<button menuToggle>Toggle Menu</button>
|
||||
</p>
|
||||
|
||||
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-navbar *navbar>
|
||||
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<h3>Page 2</h3>
|
||||
|
||||
<p>
|
||||
<button menu-toggle>Toggle Menu</button>
|
||||
<button menuToggle>Toggle Menu</button>
|
||||
</p>
|
||||
|
||||
</ion-content>
|
||||
|
||||
@@ -4,7 +4,7 @@ import {IonicView, Battery} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Battery</ion-title>
|
||||
|
||||
@@ -5,7 +5,7 @@ import {Camera} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Camera</ion-title>
|
||||
|
||||
@@ -5,7 +5,7 @@ import {Contacts} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Contacts</ion-title>
|
||||
|
||||
@@ -4,7 +4,7 @@ import {IonicView, DeviceMotion} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Device Motion</ion-title>
|
||||
|
||||
@@ -4,7 +4,7 @@ import {IonicView, DeviceOrientation} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Device Orientation</ion-title>
|
||||
|
||||
@@ -4,7 +4,7 @@ import {IonicView, Device} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Device</ion-title>
|
||||
|
||||
@@ -4,7 +4,7 @@ import {IonicView, Dialogs} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Dialogs</ion-title>
|
||||
|
||||
@@ -5,7 +5,7 @@ import {Geolocation} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Geolocation</ion-title>
|
||||
|
||||
@@ -5,7 +5,7 @@ import {StatusBar} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>StatusBar</ion-title>
|
||||
|
||||
@@ -5,7 +5,7 @@ import {Vibration} from 'ionic/ionic';
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-title>Vibration</ion-title>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
|
||||
<ion-toolbar>
|
||||
<button menu-toggle>
|
||||
<button menuToggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
<ion-buttons start>
|
||||
@@ -102,7 +102,7 @@
|
||||
</button>
|
||||
</ion-buttons>
|
||||
<ion-title>Right side menu toggle</ion-title>
|
||||
<button menu-toggle right>
|
||||
<button menuToggle right>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
</ion-toolbar>
|
||||
|
||||
Reference in New Issue
Block a user