腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(129)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
我们可以将两个布尔变量中的任何一个传递给这样的子组件吗?
<
custom-component
[loading]="loading"></
custom-component
> 现在,我可以用这样的一行来做上面的代码吗?<
custom-component
[loading]="loading || loadClass&q
浏览 1
修改于2019-09-13
得票数 0
回答已采纳
1
回答
自定义组件内的离子项边框
<ion-item>Second</ion-item></ion-item-group> <
custom-component
></
custom-component
>&
浏览 0
修改于2018-09-29
得票数 3
回答已采纳
4
回答
Vuejs2.0中的递归组件通信
假设组件名称为"customComponent“<
custom-component
class='parent'> <
custom-component
class='child'></
custom-component
></
custom-componen
浏览 1
修改于2017-10-30
得票数 4
1
回答
如何使用cheerio访问shadow dom的内容
axios.get(URL) <body> </body> 当通过Chrome查看
custom-component
时,我可以看到有很多我想访问的孩子。例如: <
custom-component<
浏览 13
提问于2020-03-28
得票数 0
1
回答
使用CSS引用web组件根属性
this.hasAttribute(attrName); } connectedCallback() { this.setAttribute('open', ''); } customElements.define('
custom-
浏览 15
提问于2020-09-12
得票数 1
2
回答
全局冲孔组件样式
基本上,我使用的是包装在
custom-component
中的mat-card组件。在某些情况下,当自定义组件前面有另一个
custom-component
时,我希望将样式更改为垫卡 我们的想法是: global-styles.scss
custom-component
~
custom-component
background-color: red;} host-context看起来是个好主意,我试过了 custom-component.scss // does not work host-c
浏览 13
提问于2019-06-13
得票数 0
回答已采纳
2
回答
如何选择自定义元素的子元素所在的位置?
使用我的自定义组件的上层html元素文件: <custom-component2></custom-component2>描述自定义组件内部结构的文件: <p>paragraph</p> <
custom-component
> <
浏览 20
提问于2020-05-20
得票数 0
回答已采纳
1
回答
带参数化模板的dom-重复
用法: <template id="item-template"> </template>CustomComponent: <template> <template is="
浏览 3
提问于2017-11-15
得票数 5
1
回答
如何向元素动态添加ng-重复属性
示例 <item-template> <item-template>那么结果将是 <ul> <li ng-repeat="item in $ctrl.items">(the template)</
浏览 3
修改于2018-01-15
得票数 4
2
回答
如何创建使用组件标记的内容而不是输入的角分量
下面是我正在寻找的组件html用法和结果的示例<
custom-component
[headerText]='example text'></
custom-component
><
custom-component
<h1>example text</h1> &
浏览 1
提问于2022-11-24
得票数 0
2
回答
两个相同级别组件之间的交换引用。
我有两个
custom-component
,它们是由一个具有不同数据的公共父级生成的,作为mat-tab-group上的两个选项卡。<mat-tab-group> <ng-template matTabContent> </ng-t
浏览 4
提问于2020-05-29
得票数 0
回答已采纳
1
回答
无论如何,在传递给插槽的文本中使用数据属性?
我有这样的Vue设置:Vue.component('
custom-component
', { data: functionnew Vue({}); <script src="https://unpkg.com/vue@2.4.2"></script>
浏览 4
修改于2022-03-14
得票数 2
回答已采纳
1
回答
不带外部节点的Aurelia自定义元素
/components/custom-component.html"></require></template>
浏览 12
提问于2017-08-22
得票数 1
回答已采纳
1
回答
使用茉莉花和业力进行单元测试时会发生CUSTOM_ELEMENTS_SCHEMA错误
',})Checkin.html[inputDate]="selectedDate" (dateChanged)="dateChanged($event)"></
custom-component
>Check
浏览 2
修改于2017-10-25
得票数 2
回答已采纳
1
回答
自动引用模板中的组件?
是否可以引用模板中使用的组件(本例中是我的
custom-component
),如本例所示: name="name1" [(ngModel)]="select.value" </
custom-component
> 如您所见,[(ngModel)]属性具有值select.value
浏览 1
修改于2019-08-17
得票数 0
1
回答
使用"&“(与号)运算符,其中最顶层的父项是元素标签选择器
我有更少的东西:
custom-component
{ .decorator-class& wrapper { }custom-component.decorator-class .random-class wrapper
custom-component
{// ^ ampersand at the beginning
浏览 10
修改于2021-06-03
得票数 0
2
回答
模板驱动表单中的表单验证问题
例如: @Component({ templateUrl: '.假设我们在这个模板中使用了我的组件: <
custom-component
[isRequired] = true ><
浏览 0
修改于2019-08-17
得票数 0
回答已采纳
4
回答
根据当前路由动态显示组件,vuejs
我只希望
custom-component
是可见的,如果不在主页上。默认情况下,我将用户设置为在主页上,这样组件就不会在加载时显示。<template> <navbar/> <
custom-component
v-bind:is="homePage"></
custom-co
浏览 2
修改于2018-12-27
得票数 4
1
回答
将值动态绑定到组件的属性
props: { type: String }}组件的模板组件代码 components: {
custom-component
浏览 7
提问于2018-02-24
得票数 0
1
回答
将函数的返回值传递给自定义角分量
HTMLTS someFunction
浏览 1
提问于2020-01-26
得票数 1
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
点击加载更多
领券