From a22652fca02d5bf42a745faf8a1e2464fc0ebef1 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 4 Dec 2023 18:52:34 -0500 Subject: [PATCH] help listing --- .../help-listing/help-listing.component.html | 19 +++++++++++++++ .../help-listing/help-listing.component.scss | 0 .../help-listing.component.spec.ts | 24 +++++++++++++++++++ .../help-listing/help-listing.component.ts | 20 ++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 src/app/components/help-listing/help-listing.component.html create mode 100644 src/app/components/help-listing/help-listing.component.scss create mode 100644 src/app/components/help-listing/help-listing.component.spec.ts create mode 100644 src/app/components/help-listing/help-listing.component.ts diff --git a/src/app/components/help-listing/help-listing.component.html b/src/app/components/help-listing/help-listing.component.html new file mode 100644 index 0000000..e059179 --- /dev/null +++ b/src/app/components/help-listing/help-listing.component.html @@ -0,0 +1,19 @@ + + + + {{item.title}} + +
+
+
+ +
+
+
+ +
diff --git a/src/app/components/help-listing/help-listing.component.scss b/src/app/components/help-listing/help-listing.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/help-listing/help-listing.component.spec.ts b/src/app/components/help-listing/help-listing.component.spec.ts new file mode 100644 index 0000000..98118dd --- /dev/null +++ b/src/app/components/help-listing/help-listing.component.spec.ts @@ -0,0 +1,24 @@ +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; +import { IonicModule } from '@ionic/angular'; + +import { HelpListingComponent } from './help-listing.component'; + +describe('HelpListingComponent', () => { + let component: HelpListingComponent; + let fixture: ComponentFixture; + + beforeEach(waitForAsync(() => { + TestBed.configureTestingModule({ + declarations: [ HelpListingComponent ], + imports: [IonicModule.forRoot()] + }).compileComponents(); + + fixture = TestBed.createComponent(HelpListingComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + })); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/help-listing/help-listing.component.ts b/src/app/components/help-listing/help-listing.component.ts new file mode 100644 index 0000000..ce93c1d --- /dev/null +++ b/src/app/components/help-listing/help-listing.component.ts @@ -0,0 +1,20 @@ +import { Component, OnInit } from '@angular/core'; +import {HelpDataService} from "../../store/help-data.service"; + +@Component({ + selector: 'app-help-listing', + templateUrl: './help-listing.component.html', + styleUrls: ['./help-listing.component.scss'], +}) +export class HelpListingComponent implements OnInit { + + helpData:any; + constructor(public helpDataService:HelpDataService) { + + this.helpData = this.helpDataService.helpDataResult; + + } + + ngOnInit() {} + +}