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-03 17:08:55 -07:00
2015-06-03 17:08:55 -07:00
2015-06-11 17:11:34 +02:00
2015-05-20 16:30:41 -07:00
2015-05-29 10:42:47 -07:00
2015-05-27 16:23:42 -07:00
2015-05-21 13:55:15 -07:00
2015-05-22 09:39:15 -07:00
2015-06-04 14:14:03 -07:00
2015-06-11 13:11:09 -07:00
2015-06-04 11:44:26 -07:00
2015-06-08 17:52:25 -07:00
2015-06-11 17:11:34 +02:00
2015-06-03 17:08:55 -07:00
2015-05-20 16:30:41 -07:00
2015-05-20 16:30:41 -07:00
2015-05-29 11:33:22 -07:00
2015-06-04 14:14:03 -07:00
2015-06-03 14:42:00 -07:00
2015-06-01 16:24:36 -07:00
2015-05-20 16:30:41 -07:00
2015-06-04 14:14:03 -07:00