Skip to content

@serenity-is/domwise / StyleAttributes

Type Alias: StyleAttributes

StyleAttributes = Partial<ExcludeMethods<RemoveIndex<Omit<CSSStyleDeclaration, "length" | "parentRules">>>>

Defined in: types/style-attributes.d.ts:11

Style properties that can be assigned to the style attribute, with methods, readonly properties, and the index signature filtered out of CSSStyleDeclaration.