腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
4
回答
类型
'
HTMLElement
‘
angular
4
上
不存在
属性
'
checked
’
angular
、
checkbox
我正在尝试从ts(
类型
脚本)文件中获取复选框选中的值。为此,我有一个布尔变量,其目的是使用这个变量值显示和隐藏div,但我面临一个问题。请帮助我解决这个问题,并给我正确的方法。这是我的代码..。html代码 **checkbox code**abcde" class="form-check-input" id="abcde" value="1" (change)="
checked
('abcde')"> abcde 显示和隐藏代码 *ngIf=&
浏览 119
提问于2017-12-28
得票数 14
回答已采纳
2
回答
“
HTMLElement
”
类型
上
不存在
属性
“
checked
”。
javascript
、
jquery
、
typescript
我在打字本文件中有这段代码 if ($('.debug-window #show_removed_flights')[0].
checked
if ($('.debug-window #show_removed_flights')[0].
checked
) {
类型
'
HTMLElement
‘
上
不存在
ts
属性
'
check
浏览 1
提问于2018-03-28
得票数 19
回答已采纳
1
回答
错误TS2339:“
HTMLElement
”
类型
上
不存在
属性
“
checked
”
javascript
、
angular
、
typescript
'
HTMLElement
‘
上
不存在
属性
'
checked
’。src/app/users/users-list/users-list.component.ts(48,14):错误TS2339:
类型
'
HTMLElement
‘
上
不存在
属性
'
checked
’。src/app/users/users-l
浏览 0
提问于2018-11-19
得票数 3
3
回答
'JQuery‘
Angular
6
类型
中
不存在
属性
'modal’
jquery
、
angular
、
typescript
、
angular6
我在jQuery中使用TypeScript
Angular
6时有以下错误,请帮助我遵循这些步骤安装jQuery。(如果已安装,请跳过)npm安装@type/jquery--保存它显示了我的错误 错误TS2339:
属性<
浏览 0
提问于2018-10-16
得票数 3
2
回答
Angular
2应用程序中的Plotly事件
javascript
、
angular
、
plotly
、
jquery-click-event
我正尝试在
angular
2项目中使用plotly java脚本单击事件,但它返回以下错误myPlot.on('plotly_click', function(data){}); 因为这个原因,
Angular
浏览 4
提问于2016-12-01
得票数 1
2
回答
角7-如何工作的HTML5全屏API?我有很多错误
angular
、
html
、
typescript
、
angular-cli
、
fullscreen
错误TS2339:在'
HTMLElement
‘
类型
上
不存在
属性
'mozRequestFullScreen’。错误TS2339:在'
HTMLElement
‘
类型
上
不存在
属性
'webkitRequestFullscreen’。错误TS2339:在'
HTMLElement
‘
类型
上
不存在
属性</e
浏览 4
提问于2019-01-17
得票数 6
回答已采纳
1
回答
如何在
angular
5 6 7中使用本机元素
HTMLElement
创建自定义表单控件
javascript
、
html
、
angular
、
typescript
实际
上
如下所示:我希望原生HTML input标记扩展原生和typescript
属性
formControlName="aComponent]="data.get('aComponent').value"> </my-input>
checked
和formControlName是一个提供
angular
的
属性
,它还希望继承和
浏览 0
提问于2019-02-26
得票数 0
1
回答
属性
“innerText”
不存在
于“元素”
类型
上
javascript
、
typescript
、
puppeteer
$eval(selector, node => node.innerText); 以及像这样创建我自己的界面: interface TextElementextends Element {
浏览 0
提问于2019-08-19
得票数 21
回答已采纳
4
回答
typescript和html切换切换值
html
、
css
、
angular
、
typescript
、
toggleswitch
var switchTrueFalse = document.getElementById('ToggleswitchId').
checked
但我得到的只是“
类型
HTMLElement
上
不存在
属性
'
checked
浏览 72
提问于2019-02-12
得票数 0
4
回答
‘'play’在'
HTMLElement
‘
类型
中
不存在
,在'EventTarget’
类型
中
不存在
属性
'value‘
typescript
、
jsx
有没有办法去掉打字稿
上
的警告信息?谢谢 e.preventDefault() audioPlayer.play();
浏览 5
提问于2017-05-21
得票数 9
回答已采纳
1
回答
“AbstractControl”
类型
上
不存在
属性
“控件”?
angular
、
typescript
、
forms
我正在尝试实现一个ValidatorFn接口,但是,在尝试使用‘抽象控件’
类型
的formGroup
上
的'controls‘
属性
时,遇到了一个问题,错误是:“AbstractControl
类型
上
不存在
属性
我的ValidatorFn接口如下:2. exportre
浏览 0
提问于2021-08-29
得票数 4
回答已采纳
1
回答
Angular
2,在单击按钮时选中或取消选中复选框
angular
我有一个
angular
2应用程序,在该应用程序中,我希望根据用户操作动态地检查或取消检查。 他/她的电子邮件并按下提交按钮。当我试着用这个我得到一个编译错误 错误:(33,60) TS2339:
类型
'
HTMLElement
‘
上
不存在
属性
'<e
浏览 1
提问于2016-06-16
得票数 4
1
回答
在javascript中简单地设置一个无线电按钮
javascript
、
angular
、
typescript
、
radio-button
、
checked
我有它的身份证,所以我试着:radiobutton.
checked
= true;有什么想法吗?
浏览 4
提问于2017-09-21
得票数 0
回答已采纳
2
回答
如何在TypeScript中声明和调用嵌套接口?
typescript
> = { head: document.querySelector<
HTMLElement
(...);
属性
'main‘
不存在
于'
HTMLElement
\ iROGeneric’
类型
上
。
属性
'main‘在
浏览 3
提问于2020-10-05
得票数 0
回答已采纳
2
回答
不使用模拟服务的
Angular
2单元测试
angular
、
unit-testing
、
karma-jasmine
但我收到了一个错误: inject, TestBedimport { By } from '@
angular
string }; this.authState =
浏览 0
提问于2017-07-08
得票数 2
回答已采纳
1
回答
在TypeScript中获取"HTMLInputElement“
类型
typescript
、
typeerror
有一个<input type="checkbox" id="mainCheckbox" />,我想用it.And的
属性
checked
警告Property '
checked
' does not existon type '
HTMLElement
'.I知道必须是HTMLInputElement
类型
,但我不能改变它,getElementById()方法返回的
类型
是
HTMLElement
浏览 0
提问于2015-11-01
得票数 14
回答已采纳
1
回答
将.files方法显示为“
类型
‘file元素’
上
不存在
属性
”,同时尝试从输入
类型
文件中获取文件
html
、
angular
、
typescript
、
angular5
我正在尝试显示从输入
类型
文件中选择的图像。编码工作正常,但这个错误仍在显示。img_file.files //
浏览 0
提问于2018-03-21
得票数 1
回答已采纳
4
回答
属性
'value‘在“
HTMLElement
”
类型
上
不存在
,用于Textarea -角
javascript
、
html
、
angular
、
typescript
使用角
4
(打字本),我有以下HTML代码:Property 'value' does not exist on type '
HTMLElement
' 这应该是一个简单的函数。我做错了什么?
浏览 15
提问于2017-07-11
得票数 6
回答已采纳
1
回答
属性
在
类型
元素
上
不存在
。
javascript
、
html
、
typescript
我创建了一个带有html应用程序
类型
类型
的新的visual studio项目,我试图创建一个影子域,但是有一个错误。class Append{ this.elementvar el = document.getElementById('content'); let shadow = el.attachShadow({mode: 'open
浏览 0
提问于2018-06-24
得票数 10
1
回答
类型
“
HTMLElement
”
上
不存在
属性
“”length“”
javascript
、
typescript
、
angular6
但是当我这样做的时候,我得到一个错误:
属性
'length‘在
类型
'
HTMLElement
’
上
不存在
。
浏览 2
提问于2018-12-12
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
React基本架构及虚拟DOM结构
HTMLUnknownElement与HTML5自定义元素的纠葛
从属性到结构,带你深入理解 Angular2 两大类型指令!
JavaScript私有属性要来了,但实现方式惹争议
jQuery之属性
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券