本内容遵循CC 4.0 BY-SA版权协议 补充:classList 还支持 contains('类名') 判断是否包含某类,返回布尔值;可一次传多个类名 add('a', 'b')。 补充:自定义属性用 data-前缀,通过 元素.dataset.属性名 读取 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results