腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Angular
2-
ngSwitchCase
、
、
我正在学习
Angular
2的切换大小写。我试图回显数组,但我不得不重命名一些单词。deleteModal" (click)="showDelete(access)"></span></td></tbody> <td [
浏览 1
提问于2017-08-01
得票数 0
回答已采纳
1
回答
Angular
2-
ngSwitchCase
-正确语法(包装器)
、
、
span class="badge">Rank</span> Name <span *
ngSwitchCase
="'games'" class="points">Games</span> <span *
ngSwitchCase</e
浏览 19
提问于2017-03-08
得票数 0
回答已采纳
1
回答
角2:@角/公共/索引没有导出的mng 'NgSwitchWhen‘
PS:它确实在
angular
2 rc.1下工作。
浏览 0
提问于2016-06-30
得票数 0
回答已采纳
3
回答
如何在ngSwitch中使用
angular
2
下面是我的代码:<template [ngSwitch]="buttonSelector"> </span></template>import { Component, OnInit, Input
浏览 2
提问于2016-12-11
得票数 19
回答已采纳
1
回答
如何使用ngIf在
Angular
7中的三个页面之间切换?
我正试图在我的
Angular
7应用程序中切换3个页面,我已经能够在两个页面之间切换,但每当我点击我的消息页面时,它都会加载到文档部分。loadedFeature == 'contacts'"></cms-contacts></div> 这是我的app.component.ts文件: import { Component } from '@
angular
> </na
浏览 34
提问于2019-01-26
得票数 0
回答已采纳
2
回答
angular
4 md输入容器
、
我使用的是
angular
()的动力学形式,但是如何使用md-input-container和
angular
材质来转换这个例子呢?formGroup]="form"> <input placeholder={{question.Label}} *
ngSwitchCase
="'textbox'" [formControlName]="questio
浏览 7
提问于2017-07-27
得票数 0
回答已采纳
3
回答
角2
ngSwitchCase
,OR算子不工作
、
、
、
所以,我在尝试示例: <ng-container *
ngSwitchCase
="'a'">Code A</ng-container> <ng-container *
ngSwitchCase
="'b'">Code B<
浏览 0
提问于2017-05-04
得票数 53
回答已采纳
2
回答
角6 *
ngSwitchCase
不工作
import { Component, OnInit } from '@
angular
/core'; selector: 'app-test', <div *
ngSwitchCase
="'red'"> RED </div><div *
ngSwitchCase<
浏览 1
提问于2018-07-10
得票数 2
回答已采纳
1
回答
在
Angular
9中,如何在给定时间只允许div中的一个切换处于活动状态?
、
、
我找到了许多使用ngDisabled和AngularJS的解决方案,但没有一个是针对
Angular
9的。
浏览 22
提问于2020-03-20
得票数 1
回答已采纳
2
回答
从AngularJS升级到
Angular
8在从ng-include迁移到ng-repeat时遇到问题
目前,我正在将我的应用程序从
Angular
JS升级到
Angular
8。我希望使用ngFor动态呈现多个组件。<div [ngSwitch]="component.name"> <app-compo
浏览 0
提问于2019-08-02
得票数 0
3
回答
ngSwitch是如何在
Angular
2中工作的?
、
我试图使用ngSwitch作为,但是我得到了一个错误:我的组成部分: <div layout="column" layout-align="center center"> <div *ng-switch-when="'init'"> <button md-raised-button class="md-raised md-prima
浏览 2
提问于2016-03-03
得票数 28
回答已采纳
1
回答
如何将ngswitch与模板中的枚举一起使用?
、
、
} selector: 'app-test', <div [ngSwitch]="numType"> <a *
ngSwitchCase
="numType.second" href="se
浏览 9
提问于2021-06-23
得票数 0
1
回答
从派生构件到基础构件的角度嵌入模板
、
、
我正在尝试理解如何使用
Angular
构图。我的情况是,我有一个问题列表,每个问题都有一个类型。基于该类型,模板的部分会发生变化。> <question-type-a *
ngSwitchCase
="'A'" [question]="question"</questi
浏览 0
提问于2019-03-18
得票数 0
1
回答
Angular
2: ng-开关未按预期工作
我遵循了从官方站点切换ng的语法: <div ng-switch="accessLevel"><div class="customer-blurr" ng-switch-when="DISABLED"> This is disabled Customer Data</div>
浏览 2
提问于2016-11-09
得票数 0
回答已采纳
5
回答
Angular
2 ngSwitch不工作
、
、
提前道歉,如果这是显而易见的事情,我是
Angular
2的新手。 <!
浏览 3
提问于2016-10-21
得票数 8
回答已采纳
1
回答
:enter和:leave角度动画没有平滑过渡
、
、
app.component.html <div @slideInOut *
ngSwitchCase
="1"></div> <div @slideInOut *
ngSwitchCase
="
浏览 10
提问于2019-11-08
得票数 1
回答已采纳
1
回答
在ngSwitch中使用ng模板引用
与在每个*
ngSwitchCase
块中编写html代码不同,我想添加一个对ng-template的引用,它的想法来自于此(来自
angular
文档):我想这样做: <div *
ngSwitchCase
<
浏览 3
提问于2017-05-25
得票数 3
1
回答
我正在使用
angular
2,我只想根据ngSwitch显示我的数据
、
我正在使用
angular
2,我只想根据ngSwitch来显示我的数据,但它抛出了一个错误,下面是我的代码。<div ngSwitch="employee.data.status"> </div> <div *
ngSwitchCase
="0&q
浏览 4
提问于2017-03-08
得票数 1
回答已采纳
2
回答
根据角度中的特定条件查看另一个组件中的特定组件
、
我有5个组件,我想根据具体情况在另一个组件中查看其中一个组件,例如当查看x=1第一个组件时,查看x=2第二个组件时,等等。x的含义是可变的
浏览 13
提问于2019-09-30
得票数 0
回答已采纳
1
回答
有没有办法拆分角度模板,只使用我需要的部分?
、
、
对于每个
angular
组件,都有一个
angular
模板文件,在这个文件中,可以在4种不同的HTML结构之间切换,以呈现相同的数据,但不同(每个网站一种方式) <ng-container *
ngSwitchCase
="t2"> ...</ng
浏览 2
提问于2019-11-29
得票数 1
点击加载更多
相关
资讯
Angular 001 第一个 Angular App
Web前端:Angular的优缺点以及何时使用Angular?
Angular5 笔记
队列2-双向链表
Angular 000 基础介绍
热门
标签
更多标签
云服务器
ICP备案
云直播
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券