@laserware/dominator
    Preparing search index...

    Function hasSomeStyles

    • Checks if some of the style properties on the specified target match the specified search criteria.

      Parameters

      • target: null | Target

        Element, EventTarget, or CSS selector.

      • search: StylesSearch

        Array of style property names or styles filter to check for.

      Returns boolean

      true if the specified target has some specified styles.

      elements!InvalidElementError if the target could not be found or doesn't have a style property.