Skip to content

Warning - Filter not implemented yet #578

@zmirnes

Description

@zmirnes

I want to control show/hide annotations. I have checkbox and based on state of that checkbox (checked or not) I want to show or hide annotations.

I found "filter" functionality in library but when I try to implement that functionality I get warning in console:

Image

Version of library is: "@annotorious/react": "^3.7.7",

My code:

annotator?.setFilter(showAnnotations ? undefined : () => false);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions