
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
a11y-doc-preview
Advanced tools
Accessible document preview component for use in the Kofile ecosystem.
A1y-Doc-Preview is an accessible document preview solution written in Typescript for the Kofile ecosystem.
yarn
yarn preview
localhost:1234
Name | Type | Required | Description |
---|---|---|---|
doc | Doc | ✅ | Object with information about the document. |
navigation | Navigation | ✅ | Object with navigation functions. |
applyCertification | function | ⭕️ | Function to call to apply certification. |
isSecure | boolean | ✅ | Whether or not to show the document as secured. |
isMarginalReference | boolean | ✅ | Whether or not to render as marginal reference. |
disablePan | boolean | ✅ | Whether or not to disable image panning. |
cart | Cart | ✅ | Object with cart related functions. |
Name | Type | Required | Description |
---|---|---|---|
id | number | ✅ | Id of the document. |
summary | Summary | ✅ | Object containing the document summary |
imageUrls | Array | ✅ | Array of image urls |
attachments | Array<Array> | ✅ | Array of array of attachment urls |
attachmentThumbnails | Array<Array> | ✅ | Array of array of attachment thumbnail urls |
thumbnailUrls | Array | ✅ | Array of thumbnail urls |
Name | Type | Required | Description |
---|---|---|---|
onNext | function | ✅ | Function to call when navigating to next document |
onPrev | function | ✅ | Function to call when navigating to prev document |
onReturnToPrevDoc | function | ✅ | Function to call on navigation for marginal reference mode |
FAQs
Accessible document preview component for use in the Kofile ecosystem.
The npm package a11y-doc-preview receives a total of 1 weekly downloads. As such, a11y-doc-preview popularity was classified as not popular.
We found that a11y-doc-preview demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.