File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ Add PDF.js assets to your `angular.json`:
200200
201201### 🔒 Security Features
202202
203+ - ** CSP Compliant** - Works with strict Content Security Policy (` style-src 'self' ` )
203204- ** URL Validation** - Prevents unauthorized file parameter manipulation in external viewer
204205- ** Custom Security Templates** - Angular template support for security warnings
205206- ** Console Warnings** - Developer-friendly security notifications
@@ -496,6 +497,7 @@ export class MyComponent {
496497| ` textColor ` | ` string ` | - | Text color |
497498| ` borderRadius ` | ` string ` | - | Border radius |
498499| ` customCSS ` | ` string ` | - | Custom CSS styles |
500+ | ` cspNonce ` | ` string ` | - | CSP nonce for customCSS (optional) |
499501| ` showSpinner ` | ` boolean ` | ` true ` | Show loading spinner |
500502| ` customSpinnerTpl ` | ` TemplateRef ` | - | Custom spinner template |
501503| ` spinnerClass ` | ` string ` | - | Custom spinner CSS class |
You can’t perform that action at this time.
0 commit comments