angular-docs-cn/modules/angular2_material
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
..
src feat(Directive): Have a single Directive.host which mimics HTML 2015-06-11 13:11:09 -07:00
.clang-format chore(material): migrate most components to TypeScript. 2015-05-26 13:35:44 -07:00
README.md feat(material): first ng2 material design components 2015-04-14 16:15:35 -07:00
package.json feat(material): first ng2 material design components 2015-04-14 16:15:35 -07:00
pubspec.yaml chore: support last dev build of Dart at 1.10.0-dev.1.10 2015-05-06 18:21:46 -07:00

README.md

Temporary home of Material Design components for Angular 2.