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

Simplified DOM selection #375

Open
rglover opened this issue Feb 8, 2024 · 0 comments
Open

Simplified DOM selection #375

rglover opened this issue Feb 8, 2024 · 0 comments
Assignees
Labels
feature Something new to add
Projects

Comments

@rglover
Copy link
Contributor

rglover commented Feb 8, 2024

It'd be nice to have some short-hand aliases baked in to Joystick for DOM selection.

For example...

// Old
document.querySelector('.blah');
document.querySelectorAll('.blah');

// Short-hand
$.qs('.blah');
$.qsa('.blah');

No change in behavior, purely an alias. If/when #7 becomes a reality, these could be easily swapped with their native equivalents.

@rglover rglover added the feature Something new to add label Feb 8, 2024
@rglover rglover self-assigned this Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something new to add
Projects
1.x.x
Awaiting triage
Development

No branches or pull requests

1 participant