mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +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',
|
||||
|
Reference in New Issue
Block a user