Appearance
Home > sculp-js > getStyle
获取元素样式
Signature:
export declare function getStyle(el: HTMLElement, key: string): string;
Parameter
Type
Description
el
HTMLElement
元素
key
string
Returns:
{string}