ngx-json-ui
Version:
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.0.
25 lines (24 loc) • 917 B
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ModalComponent implements OnInit {
/**
* Modal title that appears in the header.
*/
title?: string;
/**
* Optional modal content. If not provided, content can be projected via ng-content.
*/
content?: string;
/**
* Event emitted when the modal should be closed.
*/
closeOverlay: EventEmitter<void>;
constructor();
ngOnInit(): void;
/**
* Called when the close button is clicked.
*/
onClose(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "nju-modal", never, { "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "closeOverlay": "closeOverlay"; }, never, never, true, never>;
}