chore(): rename properties to inputs, events to outputs

This commit is contained in:
Adam Bradley
2015-10-06 16:28:29 -05:00
parent 5d6a367fa3
commit 9bc09300df
25 changed files with 46 additions and 43 deletions

View File

@@ -9,7 +9,7 @@ import {IonicApp} from '../app/app';
*/
@Directive({
selector: '[menu-close]',
properties: [
inputs: [
'menuClose'
],
host: {

View File

@@ -11,7 +11,7 @@ import {Navbar} from '../nav-bar/nav-bar';
*/
@Directive({
selector: '[menu-toggle]',
properties: [
inputs: [
'menuToggle'
],
host: {

View File

@@ -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>',