Skip to content

Cannot set selector to ignoreIfFocusOn option #36

@fugudesign

Description

@fugudesign

Hi!
First, thanks for this very usefull lib and for the time saved !

I detected an issue:

The type defined in the code is ignoreIfFocusOn?: boolean;, but the doc says :

For example, if you set this option to 'input', scan events will not be fired if an input field is focused. You can either pass an DOMElement, a CSS selector or an array containing multiple besaid objects.

So, it's currently impossible to set a selector with Typescript.

Could it be possible to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions