<template is="dom-if"> = "Wrong Attribute Value"
<template is="dom-if"> = "Wrong Attribute Value"
我正在 WebStorm 中对我的项目进行代码分析。这个聚合物模板工作正常,据我所知根据文档是正确的,但是 webstorm 一直在 dom-if
部分抛出以下警告:
Wrong attribute value
代码:
<template is="dom-if" if="{{showspark}}">
<div class="box-body text-center" style="padding-top:10px;">
<span id="sline">
</span>
</div>
</template>
它提供的唯一方法是注入语言或引用:
我怎样才能让这个警告消失?
请投票给WEB-23586 to be notified on any progress with this issue. Unfortunately this error can't be suppressed; the only way to get rid of it is setting highlighting level to <None>
using Hector icon in the lower right corner: open your .html file in editor, click the Hector icon and then move the slider to the left. See http://www.jetbrains.com/webstorm/webhelp/changing-highlighting-level-for-the-current-file.html
我正在 WebStorm 中对我的项目进行代码分析。这个聚合物模板工作正常,据我所知根据文档是正确的,但是 dom-if
部分抛出以下警告:
Wrong attribute value
代码:
<template is="dom-if" if="{{showspark}}">
<div class="box-body text-center" style="padding-top:10px;">
<span id="sline">
</span>
</div>
</template>
它提供的唯一方法是注入语言或引用:
我怎样才能让这个警告消失?
请投票给WEB-23586 to be notified on any progress with this issue. Unfortunately this error can't be suppressed; the only way to get rid of it is setting highlighting level to <None>
using Hector icon in the lower right corner: open your .html file in editor, click the Hector icon and then move the slider to the left. See http://www.jetbrains.com/webstorm/webhelp/changing-highlighting-level-for-the-current-file.html