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.
modaly
Advanced tools
Changelog
0.6.0
modaly:opened
and modaly:closed
callbacks.Readme
Modaly is a jquery plugin that generates a tiny modal window.
attribute: 'href' // Changes the anchor's attribute.
block: false // Prevents the modal to open.
closeButton: true // Show the close button.
closeOverlay: true // Enable close modal clicking on overlay.
closeTarget: '.modaly__close' // Hook of the close button.
esc: true // Enable the key esc to close the modal.
overlay: .5 // Overlay applied on overlay.
prevent: true // Prevent the click action on binded element.
speed: 200 // Speed to open and close the modal.
top: undefined // Distance between top of window and the modal.
visible: false // Keeps the modal visible on screen.
<div id="modal">
<span class="modaly__close">x</span>
</div>
<a href="#modal">open</a>
$('a').modaly();
Callbacks are triggered over the modal element.
'modaly:opened': triggered when modaly is opened.
'modaly:closed': triggered when modaly is closed.
$('a').modaly('open'); // Open the modal.
$('a').modaly('open', { key: 'value' }); // Open and add params at modal.
$('a').modaly('close'); // Close the modal.
$('a').modaly('close', ['key']); // Close and removes keys data from modal.
$('a').modaly('block', boolean); // Block or unblock the modal.
FAQs
Modaly - A Tiny Modal
The npm package modaly receives a total of 63 weekly downloads. As such, modaly popularity was classified as not popular.
We found that modaly 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.