@shopware-ag/meteor-component-library
Version:
The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).
19 lines (18 loc) • 595 B
TypeScript
/**
* Returns the scrollbar height of an HTML element.
*/
export declare function getScrollbarHeight(element: HTMLElement): number;
/**
* Returns the scrollbar width of an HTML element.
*/
export declare function getScrollbarWidth(element: HTMLElement): number;
/**
* uses the browser's copy function to copy a string
*/
export declare function copyToClipboard(stringToCopy: string): void;
declare const _default: {
getScrollbarHeight: typeof getScrollbarHeight;
getScrollbarWidth: typeof getScrollbarWidth;
copyToClipboard: typeof copyToClipboard;
};
export default _default;