![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
boomqueries
Advanced tools
BoomQueries is our take on element-queries; sizing elements based on their container.
BoomQueries is our take on element-queries; sizing elements based on their container.
As our product has grown to be more modular, we began to see the limitations of sizing those modular components across more granular scopes; main content areas, sidebars, etc. And most of all, the specificities of keeping up with all these variations started to take a toll on productivity and maintenance. While there are other implementations, we didn't find any that quite fit our needs. The benefits of our version are:
There's a few options to get up and running with BoomQueries:
git clone git://github.com/boomtownroi/boomqueries.git
bower install boomqueries
Use window.boomQueries.add()
to register your component(s) with the BoomQueries library. Each instanse can house a key
; can be used to interact after it has been registered, a selector
, and a breaks
array, which holds references to your desired min-width
breakpoint and the class to be added to your component.
window.boomQueries.add("COMPONENTKEY", {
selector: ".component",
breaks: [
[480, "component--md"],
[600, "component--lg"]
]
});
Once you have added your components, you can initialize BoomQueries with:
window.boomQueries.calculate();
You can remove components registered by BoomQueries by calling the remove
method and specifying your component key
.
window.boomQueries.remove("COMPONENTKEY");
You can freely add/remove components as needed throughout your app, so don't feel that you need to register them all at once!
Using Backbone, Angular, React, etc. to dynamically interact with DOM elements? You can easily "refresh" BoomQueries by calling the calculate()
method again:
window.boomQueries.calculate();
BoomQueries is maintained by using the Semantic Versioning Specification (SemVer)
Copyright 2014 BoomTown under the MIT License
FAQs
BoomQueries is our take on element queries; sizing elements based on their container.
The npm package boomqueries receives a total of 0 weekly downloads. As such, boomqueries popularity was classified as not popular.
We found that boomqueries demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.