Documentation
    Preparing search index...

    Function hasSelectorLoopChild

    • 返回某元素及其所有子元素是否存在指定选择器

      Parameters

      • node: HTMLElement

        外层元素

      • selector: string

        目标选择器

      • OptionalstopNode: string | HTMLElement

        用于在已知范围内查找时优化性能

      Returns boolean