Skip to content

Warning - Filter not implemented yet #578

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);

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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions