Files
angular/modules/angular2_material/src/core/theme.js
T
Tobias Bosch f75a50c1dd refactor(compiler): rename decorator directives into directive
BREAKING CHANGE:
Previously, `Directive` was the abstract base class of several directives.
Now, `Directive` is the former `Decorator`, and `Component` inherits from it.
2015-04-30 13:38:40 -07:00

13 lines
180 B
JavaScript

import {Directive} from 'angular2/angular2';
@Directive({
selector: '[md-theme]'
})
export class MdTheme {
color: string;
constructor() {
this.color = 'sky-blue'
}
}