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-05-07 10:36:04 -07:00
2015-06-11 21:02:40 +02:00
2015-06-11 13:11:09 -07:00
2015-05-29 12:44:21 -07:00
2015-06-10 16:40:38 -07:00
2015-05-26 16:51:38 -07:00
2015-03-25 15:54:12 -07:00
2015-06-02 21:09:38 +02:00
2015-06-11 13:11:09 -07:00
2015-06-09 10:00:04 -07:00
2015-06-09 10:28:35 -07:00
2015-05-29 10:42:47 -07:00
2015-06-11 13:11:09 -07:00
2015-06-08 15:49:56 -07:00
2015-06-09 10:28:35 -07:00
2015-06-10 23:41:45 +02:00
2015-06-11 09:35:17 -07:00