mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4241 - Add Content Security Policy (CSP) config
This commit is contained in:
parent
590504d137
commit
c42f45455c
22 changed files with 92 additions and 21 deletions
3
components/lib/usestyle/UseStyle.d.ts
vendored
3
components/lib/usestyle/UseStyle.d.ts
vendored
|
@ -5,6 +5,7 @@ export interface StyleOptions {
|
|||
name?: string;
|
||||
id?: string;
|
||||
media?: string;
|
||||
nonce?: string;
|
||||
}
|
||||
|
||||
export declare function useStyle(
|
||||
|
@ -15,6 +16,6 @@ export declare function useStyle(
|
|||
name: string;
|
||||
css: any;
|
||||
unload: () => void;
|
||||
load: () => void;
|
||||
load: (css?: string, options?: any) => void;
|
||||
isLoaded: boolean;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue