@3cr/types-ts
v1.0.166
Published
Type definitions for 3CR
Downloads
326
Readme
@3cr/types-ts
Ecosystem integration for types and enums for 3DICOM Core Renderer (3CR) within the Browser (client-side)
Install @3cr/types-ts
package
Use the package manager npm or yarn to install @3cr/types-ts
npm
npm install @3cr/types-ts
yarn
yarn add @3cr/types-ts
Using the Package
Import the required types inside your code
Import any of the types specified in index.ts and use them within the 3CR ecosystem
Typescript (.ts)
import { AnchorPoint, ColourPresetData, CurrentScanState, InitialScanState, PositionData, ScanView, } from "@3cr/types-ts"; const anchorPoint: AnchorPoint = AnchorPoint.TOP;
Contributing
Pull requests are welcome. For changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.