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:
@@ -37,8 +37,7 @@ import {raf, ready, CSS} from 'ionic/util/dom';
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ion-refresher',
|
||||
events: ['refresh', 'starting', 'pulling'],
|
||||
properties: [
|
||||
inputs: [
|
||||
'pullingIcon',
|
||||
'pullingText',
|
||||
'refreshingIcon',
|
||||
@@ -46,6 +45,7 @@ import {raf, ready, CSS} from 'ionic/util/dom';
|
||||
'spinner',
|
||||
'disablePullingRotation'
|
||||
],
|
||||
outputs: ['refresh', 'starting', 'pulling'],
|
||||
host: {
|
||||
'[class.active]': 'isActive',
|
||||
'[class.refreshing]': 'isRefreshing',
|
||||
|
||||
@@ -15,7 +15,7 @@ import * as util from 'ionic/util';
|
||||
*/
|
||||
@IonicComponent({
|
||||
selector: 'ion-scroll',
|
||||
properties: [
|
||||
inputs: [
|
||||
'scrollX', 'scrollY', 'zoom', 'maxZoom'
|
||||
],
|
||||
host: {
|
||||
|
||||
Reference in New Issue
Block a user