### File

`src/modal/modal.module.ts`

### Declarations

- AlertModal
- Modal
- ModalFooter
- ModalHeader
- ModalPlaceholder
- Overlay

### EntryComponents

- AlertModal
- Modal
- ModalFooter
- ModalHeader

### Providers

- ModalService

### Imports

- ButtonModule
- ExperimentalModule
- I18nModule
- PlaceholderModule

### Exports

- AlertModal
- Modal
- ModalFooter
- ModalHeader
- ModalPlaceholder

    // modules
    import { NgModule } from "@angular/core";
    import { CommonModule } from "@angular/common";
    import { Close16Module } from "@rocketsoftware/icons-angular/lib/close/16";

    // imports
    import { ModalPlaceholder } from "./modal-placeholder.component";
    import { ModalService } from "./modal.service";
    import { Modal } from "./modal.component";
    import { ModalFooter } from "./modal-footer.component";
    import { Overlay } from "./overlay.component";
    import { ModalHeader } from "./modal-header.component";
    import { AlertModal } from "./alert-modal.component";
    import { ButtonModule } from "../forms/forms.module";
    import { I18nModule } from "./../i18n/i18n.module";
    import { PlaceholderModule } from "./../placeholder/placeholder.module";
    import { ExperimentalModule } from "./../experimental.module";

    // exports
    export { default as Modal } from "./modal.decorator";
    export { ModalService } from "./modal.service";
    export * from "./alert-modal.interface";
    export * from "./base-modal.class";

    @NgModule({
    	declarations: [
    		AlertModal,
    		ModalPlaceholder,
    		Modal,
    		ModalHeader,
    		ModalFooter,
    		Overlay
    	],
    	exports: [
    		AlertModal,
    		ModalPlaceholder,
    		Modal,
    		ModalHeader,
    		ModalFooter
    	],
    	entryComponents: [
    		AlertModal,
    		Modal,
    		ModalFooter,
    		ModalHeader
    	],
    	providers: [ ModalService ],
    	imports: [
    		CommonModule,
    		ButtonModule,
    		I18nModule,
    		PlaceholderModule,
    		ExperimentalModule,
    		Close16Module
    	]
    })
    export class ModalModule { }

# result-matching ""

# No results matching ""