These are interactive Nutrient Playground examples. Click any link to try the code in your browser.
For local runnable examples, see web/miscellaneous/README.md.
-
Add a custom sidebar item in menu
- Add a custom “Show/Hide” button next to the sidebar thumbnails in the toolbar that triggers an alert when clicked. — Video
-
Custom button on redaction annotation toolbar
- Add a custom dropdown menu to the redaction annotation toolbar that logs the selected name when changed. — Video
-
Add link, highlight, and underline annotations
- Add a custom toolbar button that, when clicked, highlights the selected text, underlines it, and attaches a link. — Video
-
Rotate PDF pages with custom toolbar buttons
- Add custom buttons in the toolbar to help rotate the current page clockwise or counterclockwise, while also logging any document changes. — Video
-
Add redaction annotation to the annotation sidebar
- Add redaction annotations to the sidebar view and append a redaction highlighter button to the toolbar. — Video
-
Persistent line drawing mode with toggle via a custom toolbar