Victor Berchet
f3b49378e4
feat(Directive): Have a single Directive.host which mimics HTML
fixes #2268
BREAKING CHANGE:
Before
@Directive({
hostListeners: {'event': 'statement'},
hostProperties: {'expression': 'hostProp'},
hostAttributes: {'attr': 'value'},
hostActions: {'action': 'statement'}
})
After
@Directive({
host: {
'(event)': 'statement',
'[hostProp]': 'expression' // k & v swapped
'attr': 'value',
'@action': 'statement'
}
})
2015-06-11 13:11:09 -07:00
..
2015-06-11 13:11:09 -07:00
2015-05-26 17:01:31 -07:00
2015-05-29 10:42:47 -07:00
2015-05-28 16:46:22 -07:00
2015-05-26 17:01:31 -07:00
2015-06-11 13:11:09 -07:00
2015-06-11 13:11:09 -07:00
2015-05-29 10:42:47 -07:00
2015-06-11 13:11:09 -07:00
2015-06-11 13:11:09 -07:00
2015-06-03 17:08:55 -07:00
2015-05-26 17:01:31 -07:00
2015-05-26 17:01:31 -07:00
2015-06-04 14:14:03 -07:00
2015-06-04 14:14:03 -07:00
2015-05-29 11:33:22 -07:00