ngx-admin/docs/app/pages/home/sections-container/ngx-landing-sections-container.component.ts

22 lines
746 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
2019-02-06 11:47:51 +03:00
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'],
})
2019-02-06 11:47:51 +03:00
export class NgxLandingSectionsContainerComponent {
2019-02-06 11:47:51 +03:00
descriptions: Observable<Descriptions[]> = this.descriptionsService.getDescriptions();
2019-02-06 11:47:51 +03:00
constructor(private descriptionsService: DescriptionsService) { }
}