mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +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
|
@ -182,6 +182,12 @@ export default {
|
|||
return undefined;
|
||||
},
|
||||
|
||||
setAttribute(element, attribute = '', value) {
|
||||
if (element && value !== null && value !== undefined) {
|
||||
element.setAttribute(attribute, value);
|
||||
}
|
||||
},
|
||||
|
||||
setAttributes(element, attributes = {}) {
|
||||
if (element) {
|
||||
const computedStyles = (rule, value) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue