primevue-mirror/components/lib/usestyle/UseStyle.d.ts

21 lines
369 B
TypeScript
Raw Normal View History

2023-07-03 22:32:41 +00:00
export interface StyleOptions {
document?: HTMLElement;
immediate?: boolean;
manual?: boolean;
name?: string;
id?: string;
media?: string;
}
export declare function useStyle(
css: string,
options?: StyleOptions
): {
id: string;
2023-07-12 09:19:35 +00:00
name: string;
2023-07-03 22:32:41 +00:00
css: any;
unload: () => void;
load: () => void;
isLoaded: boolean;
};