UNPKG

@akveo/nga-theme

Version:
68 lines (67 loc) 2.57 kB
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { AfterViewInit, ComponentFactoryResolver, ElementRef, OnDestroy, Renderer2, ViewContainerRef } from '@angular/core'; import { Subscription } from 'rxjs/Subscription'; import { BehaviorSubject } from 'rxjs/BehaviorSubject'; import 'rxjs/add/operator/toPromise'; import 'rxjs/add/operator/filter'; import { NgaThemeService } from '../../services/theme.service'; import { NgaSpinnerService } from '../../services/spinner.service'; /** * Component intended to be used within the `<nga-layout>` component. * It adds styles for a preset column section. */ export declare class NgaLayoutColumnComponent { leftValue: boolean; left: boolean; } /** * Component intended to be used within the `<nga-layout>` component. * It adds styles for a preset header section. */ export declare class NgaLayoutHeaderComponent { fixedValue: boolean; fixed: boolean; } /** * Component intended to be used within the `<nga-layout>` component. * It adds styles for a preset footer section. */ export declare class NgaLayoutFooterComponent { fixedValue: boolean; fixed: boolean; } /** * A basic content container component * * While this component can be used alone, it also provides a number * of child components for common layout sections, including: * - nga-sidebar * - nga-layout-column * - nga-layout-content * - nga-layout-header * - nga-layout-footer */ export declare class NgaLayoutComponent implements OnDestroy, AfterViewInit { protected themeService: NgaThemeService; protected spinnerService: NgaSpinnerService; protected componentFactoryResolver: ComponentFactoryResolver; protected elementRef: ElementRef; protected renderer: Renderer2; centerValue: boolean; center: boolean; veryTopRef: ViewContainerRef; protected afterViewInit$: BehaviorSubject<any>; protected appendClassSubscription: Subscription; protected removeClassSubscription: Subscription; protected themeSubscription: Subscription; protected appendSubscription: Subscription; protected clearSubscription: Subscription; constructor(themeService: NgaThemeService, spinnerService: NgaSpinnerService, componentFactoryResolver: ComponentFactoryResolver, elementRef: ElementRef, renderer: Renderer2); ngAfterViewInit(): void; ngOnDestroy(): void; onResize(event: any): void; }