1.0.0 • Published 1 year ago

openseadragon-fabricjsoverlay-react v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Openseadragon-FabricjsOverlay-react Integration

This guide explains how to integrate the Openseadragon-FabricjsOverlay-react with fabric and openseadragon in a React application.

Prerequisites

Before you begin, make sure you have either npm or Yarn installed on your system.

Installation

To get started, install the required packages using npm or Yarn:

With npm:

npm install fabric openseadragon

With Yarn:

yarn add fabric openseadragon

# Usage
First, import OpenSeadragon from the openseadragon package:

import OpenSeadragon from 'openseadragon';

Next, import the fabricOverLay function from the OpenseadragonFabricjsOverlay-react package:

import { fabricOverLay } from 'OpenseadragonFabricjsOverlay-react';

After importing, initialize the fabricOverLay with OpenSeadragon:

fabricOverLay(OpenSeadragon);
1.0.0

1 year ago