@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
25 lines • 1.22 kB
TypeScript
import { Type } from '@angular/core';
import { PreviewFeature } from './preview-feature.model';
import { BehaviorSubject, Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class PreviewFeatureComponent {
selectedFeature: PreviewFeature;
shouldClose: Promise<boolean>;
description$: BehaviorSubject<string | Type<any> | Promise<string | Type<any>>>;
private resolveClose;
private readonly previewFeatureService;
private readonly markdownToHtmlPipe;
private readonly router;
private readonly route;
features$: Observable<PreviewFeature[]>;
constructor();
ngOnInit(): Promise<void>;
updateSelectedFeature(feature: PreviewFeature): Promise<void>;
updateDescription(): Promise<void>;
isComponent(description: string | Type<any> | Promise<string | Type<any>>): description is Type<any>;
onToggle(feature: PreviewFeature, event: Event): Promise<void>;
close(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewFeatureComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PreviewFeatureComponent, "c8y-preview-feature", never, {}, {}, never, never, true, never>;
}
//# sourceMappingURL=preview-feature.component.d.ts.map