在处理Angular材质时,我已经看到了所有的唱段属性。有人能给我解释一下,这个唱段前缀是什么意思吗?但最重要的是,我想要理解的是aria-hidden
和hidden
属性之间的区别。
发布于 2019-01-02 07:19:46
在element.show()中将aria-hidden设置为false并将其切换为false对我很有效。
e.g
<span aria-hidden="true">aria text</span>
$(span).attr('aria-hidden', 'false');
$(span).show();
当你藏起来的时候
$(span).attr('aria-hidden', 'true');
$(span).hide();
https://stackoverflow.com/questions/31107040
复制相似问题