【发布时间】:2016-07-28 23:50:08
【问题描述】:
这样的指令:
export class SuchDirective {
title = "SuchDirectiveTitle"
...
}
导入此类指令的此类组件:
@Component({
directives: [SuchDirective]
})
export class SuchComponent {
title = "OverriddenDirectiveTitle" // not working
}
如何解决这样的问题?
【问题讨论】:
标签: angular