UNPKG

@contentstack/live-preview-utils

Version:

Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.

12 lines (10 loc) 334 B
/** * Retrieves the computed style of an HTML element. * * @param element - The HTML element to retrieve the style from. * @returns An object representing the computed style of the element. */ declare function getStyleOfAnElement(element: HTMLElement): { [key: string]: string; }; export { getStyleOfAnElement as default };