bigbite / macy.js

http://macyjs.com/
MIT License
1.28k stars 156 forks source link

Allow `container` to use HTML Nodes instead of just css selectors #104

Open StevenJPx2 opened 7 months ago

StevenJPx2 commented 7 months ago

What problem does this address?

Many frameworks allow directly accessing HTML Elements without needing to adding a class or id. Leveraging this in macy would make it easier for devs to integrate into their repective frameworks.

What is your proposed solution?

A simple passthrough in $e.js to ignore css selection strategies if it is not a string.