Skip to content

[Bug] The documentation on the official website does not match the example code #1878

Open
@ksdhyPro

Description

@ksdhyPro

Describe the Bug

viewport.setProperties({
preset: "CT-Bone",
});

Steps to Reproduce

viewport.setProperties({
preset: "CT-Bone",
});

The current behavior

The writing style of this code has been changed, but the examle code still follows this writing style, causing the editor to report an error in the typescript environment

The expected behavior

Please update the code for the example on the official website

OS

Windows10,"@cornerstonejs/core": "^2.14.2"

Node version

18.19.0

Browser

chrome last

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions