feat(Directive): convert properties to an array
fixes #2013 BREAKING CHANGE: Before @Directive(properties: { 'sameName': 'sameName', 'directiveProp': 'elProp | pipe' }) After @Directive(properties: [ 'sameName', 'directiveProp: elProp | pipe' ])
This commit is contained in:
@ -62,7 +62,7 @@ class DemoApp {
|
||||
|
||||
@Component({
|
||||
selector: 'simple-dialog',
|
||||
properties: {'numCoconuts': 'numCoconuts'}
|
||||
properties: ['numCoconuts']
|
||||
})
|
||||
@View({
|
||||
template: `
|
||||
|
Reference in New Issue
Block a user