【发布时间】:2017-10-15 12:24:02
【问题描述】:
我使用this article创建了角度进度条组件。它工作正常。你能告诉我角度自定义组件和原生ionic component likeion-range有什么区别吗?
自定义角度组件:
import { Component, Input } from '@angular/core';
@Component({
selector: 'progress-bar',
templateUrl: 'progress-bar.html'
})
export class ProgressBarComponent {
@Input('progress') progress;
constructor() {
}
}
【问题讨论】:
标签: angular ionic-framework ionic2 components ionic3