腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
无法
关闭
ng-bootstrap
模式
javascript
、
angular
、
modal-dialog
、
ng-bootstrap
所以我有一个包含表单的NgbModal,我想要实现的是在成功提交时
关闭
它。
浏览 3
提问于2016-09-11
得票数 5
回答已采纳
1
回答
关闭
ngb-模态外部模态控制器
javascript
、
html
、
angular
、
typescript
、
ng-bootstrap
我已经创建了一个组件,其中包含我想要在其他多个组件上显示的
模式
内容。openModal(content: string) {}
模式
显示正确,但是当我试图通过按X来
关闭
模式
时,它不起作用,因为
模式
引用在header组件中。
浏览 29
提问于2021-04-14
得票数 0
0
回答
从另一个模态打开一个模态
angular
、
ng-bootstrap
我正在尝试从
ng-bootstrap
中的另一个
模式
的链接打开一个
模式
。 一旦用NgbActiveModal.close
关闭
了
模式
,我就
无法
打开另一个
模式
。
浏览 0
提问于2017-01-06
得票数 1
回答已采纳
2
回答
在注销时
关闭
所有ng引导调制解调器。
angular
、
ng-bootstrap
问题:,如果他们有一个
模式
打开,那么当用户被重定向时,它仍然是打开的。使用
ng-bootstrap
关闭
任何活动
模式
(会话超时)的好的集中式方法是什么,而不涉及将代码放入每个模型(或基类)或包装NgbModal服务?我正在使用Angular 4、Bootstrap 4和
ng-bootstrap
。
浏览 1
提问于2017-11-16
得票数 6
1
回答
在angular2中创建自定义
模式
对话框的最佳方式?
angular
、
modal-dialog
、
angular2-directives
我在一个团队项目中工作,其中有一个
模式
对话框窗口的组件,它被放置在*ngIf中需要该窗口的任何地方,一个传递给输入的回调函数,一个消息和一些其他东西。我想创建一个指令,放在<button>或<a>上,拦截单击事件,显示
模式
对话框,如果它被接受,则调用原始元素的(click)处理程序。做这件事最好的方法是什么?
浏览 0
提问于2017-03-07
得票数 0
2
回答
Angular Bootstrap如何
关闭
模式
?
angular
、
bootstrap-modal
我用这个来打开我的
模式
this.modalService.open(content); login(但我需要按键
关闭
它。它是从html
关闭
浏览 0
提问于2020-02-03
得票数 0
2
回答
如何
关闭
ng-bootstrap
模式
javascript
、
twitter-bootstrap
、
angular
、
bootstrap-modal
、
ng-bootstrap
我的
模式
中也有两个按钮。每个按钮也有一个回调函数。如何实现模态close或从按钮调用模态close?看了一遍文件,但感觉很难理解。
浏览 1
提问于2017-04-25
得票数 0
10
回答
如何以编程方式
关闭
ng引导
模式
?
angular
、
ng-bootstrap
class="btn btn-secondary" (click)="submit()">Yes</button></template> 每当我单击“是”时,我希望它调用一个函数并
关闭
它自己
浏览 0
提问于2016-11-02
得票数 48
回答已采纳
3
回答
角度2 ng-自举
关闭
模式
angular
、
ng-bootstrap
我正在尝试
关闭
通过open(content)函数呈现给我的
模式
,如ng- 中的示例所示。在网站上,它提到我可以从NgbActiveModal调用close或dismiss。因此,对我来说,即使在导入NgbActiveModal之后,我似乎也
无法
访问
ng-bootstrap
提供的
关闭
和
关闭
。请注意,我可以显示
模式
fine 在这个例子中,
模式
是通过(click)="c('Close click')“
关闭
的。我
浏览 1
提问于2017-01-30
得票数 17
回答已采纳
1
回答
在IE11中
无法
关闭
Popin
angular6
、
ng-bootstrap
你好,我在我的angular 6中使用ngbootstrap
模式
窗口,我在我的html中有以下代码来
关闭
popin。import {NgbActiveModal} from '@
ng-bootstrap
/
ng-bootstrap
'; constructor(public activeModal: NgbActiveModal
浏览 17
提问于2019-05-22
得票数 0
回答已采纳
3
回答
解除/
关闭
时的嵌套NgbModal问题
javascript
、
angular
、
bootstrap-modal
、
ng-bootstrap
我在尝试
关闭
或
关闭
确认
模式
时遇到了一个问题:确认
模式
实际上需要
关闭
/取消两次,而不是一次。对于我来说,唯一可能导致这种情况的是确认
模式
被打开了两次,但我不知道这种行为是从哪里来的……public showUserUpdateModale(user: User/
ng-bootstrap
'; import { User } from 'src/app/models/us
浏览 35
提问于2019-03-29
得票数 0
2
回答
闭合主动模态
angular
、
modal-dialog
、
ng-bootstrap-modal
现在,我想
关闭
活动
模式
,而不是
关闭
所有模态。因此,dismissAll需要被替换。我想使用NgbActiveModal,但是一旦将它添加到构造函数中,就会得到一个错误。import {Component, ElementRef, Input, ViewChild} from '@angular/core'; import {NgbModal} from '@
ng-bootstrap
/
ng-bootstrap
';
浏览 16
提问于2021-09-17
得票数 0
1
回答
@ng-引导/ng-引导
模式
打开并
关闭
自身
angular
、
bootstrap-modal
、
ng-bootstrap
/Services/memberBasicInformation.service'importimport {NgModule} from '@angular/core'impor
浏览 3
提问于2017-09-26
得票数 1
回答已采纳
3
回答
ng-bootstrap
模式
页眉和页脚不显示?
javascript
、
angular
、
twitter-bootstrap
、
angular-ui-bootstrap
、
bootstrap-4
我使用的是Bootstrap 4,所以我能够启动
模式
窗口并从组件中渲染数据,但我看不到页眉和页脚,我有一部分HTML,我不能
关闭
模式
窗口。下面的代码中缺少什么?modal.component.ts @Compon
浏览 4
提问于2018-02-15
得票数 1
回答已采纳
2
回答
如何在ngBootstrap和棱角中听一个模态的闭合事件?
angular
、
typescript
、
ng-bootstrap
、
angular2-observables
我正在尝试使用ngbootstra订阅
模式
的
关闭
事件,但我不明白它是如何工作的。我有两个组件,第一个用于学习模态和内部第二个。other/other.component';import { NgbModal } from '@
ng-bootstrap
/
ng-bootstrap
'; import { NgbActiveModal } from
浏览 12
提问于2020-12-02
得票数 2
回答已采纳
4
回答
角2 NgbModal NgbActiveModal闭合事件
模式
angular
、
ng-bootstrap
我以这样的方式打开表单模型:import { NgbModal } from '@
ng-bootstrap
/
ng-bootstrap
'; //Do some actions....open()方法从my-
浏览 3
提问于2017-06-16
得票数 17
1
回答
如何在开放内模上
关闭
ng-Bootstrap
模态
bootstrap-modal
、
angular7
、
ng-bootstrap
当我点击第一个模态的一个链接,打开里面的
模式
,但没有
关闭
前一个
模式
,这就是我想要做的,login.component.tsimport {NgbModal} from "@
ng-bootstrap
/
ng-bootstrap
"; @Component(
浏览 1
提问于2019-01-08
得票数 1
2
回答
如何在Angular 4+中隐藏
模式
?
angular
、
typescript
如何隐藏
模式
?目前,我想隐藏一个
模式
,因为另一个
模式
打开了。我想隐藏另一个,然后在用户单击取消后显示?openModal函数打开另一个ModalB,它有一个cancel按钮,当我单击它时,它应该会重新打开这个
模式
。
浏览 18
提问于2019-09-16
得票数 0
1
回答
使用ng-bootstrap4在angular 4中显示
模式
弹出正文中的组件
angular
、
bootstrap-modal
、
ng-bootstrap
、
angular-forms
我的目标是通过ng-bootstrap4
模式
弹出窗口在组件中验证angular 4中的反应式表单,比如MyFormComponent。提交后,这些字段将正确验证并提交到控制台。但我想将窗体显示为
模式
弹出窗口主体的一部分。因此,用户将看到一个触发
模式
弹出窗口的按钮。单击弹出窗口将打开并显示在MyFormComponent中创建的表单。但不知道如何将组件显示为
模式
的主体,并在提交点击时验证它。
浏览 0
提问于2018-05-14
得票数 0
1
回答
模式
引导程序angular 2立即
关闭
twitter-bootstrap
、
typescript
、
angular2-template
当我点击打开它
关闭
的
模式
时,我在搜索后尝试了这个示例,我猜错误来自于加载NgbModal多脉冲次数。和这个组件中添加了它import {NgbModal, NgbActiveModal} from '@
ng-bootstrap
/
ng-bootstrap
'; selector: 'ngbd-modal-content
浏览 6
提问于2017-06-25
得票数 1
点击加载更多
相关
资讯
双重认证无法关闭怎么办?
豆瓣关闭夜间模式教程
华为关闭【纯净模式】教程
维词关闭深色模式教程
微信如何关闭监听模式
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
语音识别
活动推荐
运营活动
广告
关闭
领券