angular2.0如何使用管道?

管道把数据做为输入,而后转换它,给出指望的输出。 咱们将把组件的birthday属性转换成对人类更友好的日期格式,来讲明这一点:html app/hero-birthday1.component.ts COPY CODE import { Component } from '@angular/core'; @Component({ selector: 'hero-birthday', templa
相关文章
相关标签/搜索