ngx-admin/docs/app/pages/home/sections-container/ngx-landing-sections-container.component.ts
2021-10-08 13:51:04 +03:00

21 lines
746 B
TypeScript

/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { Component } from '@angular/core';
import { Observable } from 'rxjs';
import { Descriptions, DescriptionsService } from '../../../@core/data/service/descriptions.service';
@Component({
selector: 'ngx-landing-sections-container',
templateUrl: './ngx-landing-sections-container.component.html',
styleUrls: ['./ngx-landing-sections-container.component.scss'],
})
export class NgxLandingSectionsContainerComponent {
descriptions: Observable<Descriptions[]> = this.descriptionsService.getDescriptions();
constructor(private descriptionsService: DescriptionsService) { }
}