Documentation
    Preparing search index...

    Function hasSelector

    • 返回某元素是否存在指定选择器

      Parameters

      • node: HTMLElement
      • selector: string

      Returns boolean