mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): rename properties to inputs, events to outputs
This commit is contained in:
@@ -9,7 +9,7 @@ import {IonicApp} from '../app/app';
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[menu-close]',
|
||||
properties: [
|
||||
inputs: [
|
||||
'menuClose'
|
||||
],
|
||||
host: {
|
||||
|
||||
@@ -11,7 +11,7 @@ import {Navbar} from '../nav-bar/nav-bar';
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[menu-toggle]',
|
||||
properties: [
|
||||
inputs: [
|
||||
'menuToggle'
|
||||
],
|
||||
host: {
|
||||
|
||||
@@ -45,19 +45,19 @@ import * as gestures from './menu-gestures';
|
||||
*/
|
||||
@IonicComponent({
|
||||
selector: 'ion-menu',
|
||||
properties: [
|
||||
inputs: [
|
||||
'content',
|
||||
'dragThreshold',
|
||||
'id'
|
||||
],
|
||||
defaultProperties: {
|
||||
defaultInputs: {
|
||||
'side': 'left',
|
||||
'type': 'reveal'
|
||||
},
|
||||
host: {
|
||||
'role': 'navigation'
|
||||
},
|
||||
events: ['opening']
|
||||
outputs: ['opening']
|
||||
})
|
||||
@View({
|
||||
template: '<ng-content></ng-content><backdrop tappable disable-activated></backdrop>',
|
||||
|
||||
Reference in New Issue
Block a user