Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
308 views
in Technique[技术] by (71.8m points)

angularjs2 中 EventEmitter 的方法emit()里面传参数是做什么的

angularjs2 中 EventEmitter 的方法emit()里面传参数是做什么的


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

文档 ,这个类是继承自Subject的,方法emit(value?: T)用来发射值,然后通过方法subscribe(generatorOrNext?: any, error?: any, complete?: any) : any接收处理


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...