Angular
- 6 ответов
- 0 вопросов
5
Вклад в тег
generate(str): string {
const h = Md5.hashStr(str);
console.log(h, typeof h);
return h;
}
console.log(this.hashService.generate(this.form.value.password));
generate(str): Observable<string> {
return Observable.create((observer) => {
const h = Md5.hashStr(str);
console.log(h, typeof h);
observer.next(h);
observer.complete();
})
}
<ngx-datatable-column prop="id">
<ng-template let-row="row" let-value="value" ngx-datatable-cell-template>
<my-app-user-charts [user_id]=value [stat_by]='visits, views'> </my-app-user-charts>
</ng-template>
</ngx-datatable-column>