【发布时间】:2018-07-08 06:45:24
【问题描述】:
我的父类代码:
import { Child } from './child';
class Parent{
// onGateOpen(para1); how to access it here ?
}
我的子类代码位于名为 child.ts 的单独文件中:
class Child extends parent{
onGateOpen(para1){
// some code for opening the gate is here.
}
}
谢谢。
【问题讨论】:
-
angular website 上有很多关于此的文档
-
@Gab 你能放一些对我有帮助的链接吗?
-
老实说,快速谷歌搜索可以引导您找到答案。在 stackoverflow 上发布之前,您需要研究您的问题
标签: angular angular-components