You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
738 B
TypeScript
26 lines
738 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { CommonService } from 'src/app/hmg-common/services/common/common.service';
|
|
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
|
|
|
|
@Component({
|
|
selector: 'app-items',
|
|
templateUrl: './items.component.html',
|
|
styleUrls: ['./items.component.scss'],
|
|
})
|
|
export class ItemsComponent implements OnInit {
|
|
segment: any = '1';
|
|
constructor(public ts: TranslatorService, public cs: CommonService,) { }
|
|
|
|
ngOnInit() { }
|
|
openDetails() {
|
|
this.cs.navigateForward('/itemforsale/items-details');
|
|
}
|
|
segmentChanged(value) {
|
|
this.segment = value.detail.value;
|
|
}
|
|
openSale() {
|
|
this.cs.navigateForward('/itemforsale/home');
|
|
}
|
|
|
|
}
|