Skip to content

Commit bc13c78

Browse files
codehippie1actions-user
authored andcommitted
Sync root README with lib/README
1 parent 5bc90e5 commit bc13c78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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 |

0 commit comments

Comments
 (0)