UNPKG

@codebakery/origami

Version:
19 lines (18 loc) 766 B
/** * Imports a `<dom-module id="name">` style module by its id and returns the * `<style>` content for the module. Ensure that the module is imported and * added to the DOM before calling `importStyleModule()`. * * @deprecated Use stylesFromModule from * `@polymer/polymer/lib/utils/style-gather` * @param styleModule the named id of the style module to import * @returns the style module's CSS text, or an empty string if the module does * not exist */ export declare function importStyleModule(styleModule: string): string; /** * Resets the cache using by `importStyleModule()`, primarily used for testing. * * @deprecated clearStyleModuleCache will be removed in the next major release */ export declare function clearStyleModuleCache(): void;