@laserware/dominator
    Preparing search index...

    Function hasAllStyles

    • Checks if all 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 all specified styles.

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