mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Create UseStyle.d.ts
This commit is contained in:
parent
f2fbee878d
commit
60d0049eb1
1 changed files with 19 additions and 0 deletions
19
components/lib/usestyle/UseStyle.d.ts
vendored
Normal file
19
components/lib/usestyle/UseStyle.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
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;
|
||||
css: any;
|
||||
unload: () => void;
|
||||
load: () => void;
|
||||
isLoaded: boolean;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue