Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
scrolly
Advanced tools
Readme
Aim is a fast + good looking scrollbar with zero dependencies, small size & major browsers support.
So, the Browser Support is same as for MutationObserver
, works in all modern browsers for Desktop and Mobile.
bower install scrolly
npm install scrolly
// Initialize
var ids = scrolly.bar(query|node|string, params);
// or
var id = scrolly.barNode(node, params);
// Update
scrolly.update(id);
// or update everything
scrolly.updateAll();
// Dispose
scrolly.dispose(id);
// or cleanup everything
scrolly.disposeAll();
See example usage: gulp watch
and open /react. Or just look at public/react/index.html
in this repo.
<Scrolly params={ params }>
<h1>Some test contents here</h1>
<p>Contents to be scrolled...</p>
</Scrolly>
// jQuery Plugin
$('.selector').scrolly();
// ...and it's chained as well
// Update
$('.selector').scrolly('update');
// Dispose
$('.selector').scrolly('dispose');
Just open public/index.html
, or check the Live demo. For React Component demo check public/react/index.html
or scrolly/react.
data LESS:
{
wrap .scrolly
area .area
bar .scrolly + .bar
thumb .thumb
}
data.wrapRatio
: float 0..1
. Calculated as wrapSize / areaSize
. When === 1
no scrollbar is shown.npm install -g gulp
.npm install
.gulp -T
to see all available stuff.gulp watch
to run a local dev server, open in on localhost:3001.gulp build-all
to clean & build everything.FAQs
Scrolly: fast vanilla JS scrollbar plugin.
The npm package scrolly receives a total of 12 weekly downloads. As such, scrolly popularity was classified as not popular.
We found that scrolly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.