Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignoreTargets demo missing? #9

Closed
jot6000 opened this issue Nov 20, 2018 · 1 comment
Closed

ignoreTargets demo missing? #9

jot6000 opened this issue Nov 20, 2018 · 1 comment

Comments

@jot6000
Copy link

jot6000 commented Nov 20, 2018

Hi there,

While trying to use this I am stumped at how to use ignoreTargets for a Selection.

I don't seem to understand what you mean by an 'array of css3 selectors'.

Some kind of code example showing how to create this would be very helpful as the only time I see it used is in the example.js, where you pass it from props and I cant see how the array should be created.

I apologise if this is not where I should ask such a question but I am at a loss for any other way of asking.

@aurbano
Copy link
Owner

aurbano commented Nov 20, 2018

Hey!

Good point I'll improve the docs 👍

What it means is that you can pass an array of strings that are valid css selectors. For example:

['.someClass', '#someId', 'div > .withChild']

@aurbano aurbano closed this as completed Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants