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

Support a selector as the first argument #6

Closed
ccummings opened this issue Nov 7, 2016 · 0 comments
Closed

Support a selector as the first argument #6

ccummings opened this issue Nov 7, 2016 · 0 comments
Assignees

Comments

@ccummings
Copy link

The old can.viewModel function supported passing a selector in as the first argument instead of a DOM Element.

Since every browser CanJS 3.0 supports also supports querySelectorAll, we should be able to support this without pulling in any extra dependencies.

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

3 participants