mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
update component properties to array
https://github.com/angular/angular/issues/2013
This commit is contained in:
@ -22,9 +22,9 @@ import {Button} from 'ionic/components/button/button'
|
||||
</div>
|
||||
`,
|
||||
directives: [Button, SegmentButton],
|
||||
properties: {
|
||||
value: 'value'
|
||||
},
|
||||
properties: [
|
||||
'value'
|
||||
],
|
||||
hostProperties: {
|
||||
value: 'value'
|
||||
}
|
||||
@ -111,9 +111,9 @@ new IonicComponent(Segment, {
|
||||
hostListeners: {
|
||||
'click': 'buttonClicked($event)'
|
||||
},
|
||||
properties: {
|
||||
value: 'value'
|
||||
}
|
||||
properties: [
|
||||
'value'
|
||||
]
|
||||
})
|
||||
@View({
|
||||
template: '<content></content>'
|
||||
|
Reference in New Issue
Block a user