Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

a11y-doc-preview

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a11y-doc-preview

Accessible document preview component for use in the Kofile ecosystem.

  • 1.5.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

A11y-Doc-Preview

A1y-Doc-Preview is an accessible document preview solution written in Typescript for the Kofile ecosystem.

Starting The Dev Server

  • yarn
  • yarn preview
  • Visit localhost:1234

Props

NameTypeRequiredDescription
docDocObject with information about the document.
navigationNavigationObject with navigation functions.
applyCertificationfunction⭕️Function to call to apply certification.
isSecurebooleanWhether or not to show the document as secured.
isMarginalReferencebooleanWhether or not to render as marginal reference.
disablePanbooleanWhether or not to disable image panning.
cartCartObject with cart related functions.

Doc

NameTypeRequiredDescription
idnumberId of the document.
summarySummaryObject containing the document summary
imageUrlsArrayArray of image urls
attachmentsArray<Array>Array of array of attachment urls
attachmentThumbnailsArray<Array>Array of array of attachment thumbnail urls
thumbnailUrlsArrayArray of thumbnail urls

Navigation

NameTypeRequiredDescription
onNextfunctionFunction to call when navigating to next document
onPrevfunctionFunction to call when navigating to prev document
onReturnToPrevDocfunctionFunction to call on navigation for marginal reference mode

FAQs

Package last updated on 22 Feb 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc