Methods
Static getColorHex
- getColorHex(color: string): null | string
Parameters
Returns null | string
Static getColorRgb
Parameters
Returns null | string
Static getComputedStylePropertyValue
- getComputedStylePropertyValue(element: HTMLElement, propertyName: string): null | string
Parameters
element: HTMLElement
propertyName: string
Returns null | string
Static getComputedStylePropertyValueById
- getComputedStylePropertyValueById(elementId: string, propertyName: string): null | string
Parameters
elementId: string
propertyName: string
Returns null | string
Static getComputedStylePropertyValueByQuery
- getComputedStylePropertyValueByQuery(query: string, propertyName: string): null | string
Parameters
query: string
propertyName: string
Returns null | string
Static getOpacity
- getOpacity(opacity: string): number
Static getPixelValue
- getPixelValue(pixels: number): string
Static getTintedBackground
Parameters
Returns null | string
Static getUri
- getUri(uri: string): string
Static setComputedStylePropertyValue
- setComputedStylePropertyValue(element: HTMLElement, propertyName: string, propertyValue: string): void
Parameters
element: HTMLElement
propertyName: string
propertyValue: string
Returns void
routines for inline CSS