Skip to content

hasCss

判断某个 CSS 地址是否已在页面中加载过

示例

ts
import { hasCss } from '@base-web-kits/base-tools-web';
hasCss('https://xx/xx.css'); // boolean

版本

  • 1.0.0 新增