ngx-modal:Angular的动态模态对话框

时间:2021-05-14 16:55:55
【文件属性】:
文件名称:ngx-modal:Angular的动态模态对话框
文件大小:365KB
文件格式:ZIP
更新时间:2021-05-14 16:55:55
angular modal dialog ngx modal-dialogs ngx模态对话框 Angular的动态模式对话框,它不位于DOM上等待触发,而是在需要时注入。 考虑到Bootstrap 4样式,但是可配置为任何框架或自定义样式集。 简单的演示可以在找到。 本文档适用于4.xx版和Angular 10+。 如果您使用的是Angular的旧版本,请使用。 目录: IModalDialogBu​​tton IModalDialogSettings 执照 安装 npm install --save ngx-modal-dialog 这个怎么运作 模态对话框使用ComponentFactoryResolver将给定的子组件注入对话框。 ModalDialogService确保一次只打开一个模态对话框的实例。 使用IModalDialogOptions,您可以定义将在对话框中呈现的组件,并根据需要对其进行配置。 您可以进一步使用操作按钮来控制来自
【文件预览】:
ngx-modal-master
----.travis.yml(589B)
----config()
--------helpers.js(811B)
--------webpack.test.js(2KB)
--------testing-utils.d.ts(35B)
--------karma.conf.js(2KB)
--------testing-utils.ts(1KB)
--------spec-bundle.js(834B)
----tsconfig.lib.json(451B)
----package.json(2KB)
----tslint.json(2KB)
----ng-package.json(144B)
----tests()
--------modal-dialog.service.spec.ts(3KB)
--------simple-modal.component.spec.ts(1KB)
--------modal-dialog.component.spec.ts(9KB)
--------modal-dialog-instance.service.spec.ts(1KB)
----angular.json(659B)
----LICENSE(1KB)
----src()
--------simple-modal.component.ts(853B)
--------public-api.ts(304B)
--------modal-dialog.service.ts(1KB)
--------modal-dialog-instance.service.ts(1KB)
--------modal-dialog.module.ts(2KB)
--------modal-dialog.interface.ts(1KB)
--------modal-dialog.component.ts(9KB)
----.npmignore(490B)
----tsconfig.json(1KB)
----MIGRATION_GUIDE.md(1KB)
----.gitignore(500B)
----demo()
--------package.json(1KB)
--------tslint.json(3KB)
--------angular.json(4KB)
--------src()
--------tsconfig.json(488B)
--------tsconfig.base.json(440B)
--------e2e()
--------.gitignore(503B)
--------README.md(1021B)
--------yarn.lock(419KB)
--------.editorconfig(245B)
----CODE_OF_CONDUCT.md(3KB)
----karma.conf.js(89B)
----README.md(10KB)
----yarn.lock(412KB)

网友评论