angular-duo-pane
Version:
A library for Angular projects to easily add a two pane view for desktops, foldables and dual screen devices.
37 lines (36 loc) • 1.71 kB
TypeScript
import { ComponentFactoryResolver, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
import { DuoPaneInformationService } from '../services/duo-pane-information.service';
import { SpanningMode } from '../models/SpanningMode';
export declare class DuoPaneDirective {
private componentfactoryResolver;
private templateRef;
private viewContainer;
private dualScreenInformationService;
private secondaryPaneTemplateRef;
private EnsureSecondaryPaneVisible;
private TwoPaneMinWidthSingleSegment;
private TwoPaneMinHeightSingleSegment;
private TwoPaneSpanningModeSingleSegment;
private PrimaryPanePercentageSingleSegment;
get primaryPanePercentageSingleSegment(): number;
set primaryPanePercentageSingleSegment(value: number);
private readonly paneFactory;
private primaryPaneRef;
private secondaryPaneRef;
constructor(componentfactoryResolver: ComponentFactoryResolver, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, dualScreenInformationService: DuoPaneInformationService);
secondaryPaneVisibilityHandler: EventEmitter<boolean>;
private secondaryPaneVisible;
set secondaryPane(secondaryPane: TemplateRef<any>);
private destroySecondaryPaneRef;
private destroyPrimaryPaneRef;
set ensureSecondaryPaneVisible(value: boolean);
set twoPaneMinWidthSingleSegment(minWidth: number);
set twoPaneMinHeightSingleSegment(minHeight: number);
set twoPaneSpanningModeSingleSegment(spanningMode: SpanningMode);
private emitSecondaryPaneVisibility;
private updateView;
private renderBothPanes;
private renderDualPanes;
private renderPrimaryPane;
private renderSecondaryPane;
}