Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@onephrase/play-ui
Advanced tools
Utilities for easing DOM-related concerns, UI manipulation, events and gestures, animations, and more.
The resilient, jQuery-inspired DOM abstraction layer and a UI manipulation library.
PlayUI provides utilities for easing DOM-related concerns, UI manipulation, events and gestures, animations, and more. It offers a minimal footprint with concise APIs that let the platform speak for itself.
PlayUI can be used as a constructible function (like the jQuery function).
// If PlayUI was installed via npm
import $ from '@web-native-js/play-ui';
// If PlayUI was loaded via a script tag
const $ = window.WebNative.PlayUI;
// Bind to user gestures
$(el1).on('doubletap', e => {
// Play... then...
$(el2).play({opacity: 0}).then($el2 => $el2.css('display', 'none'));
});
PlayUI's core functions may also be imported individually to use in a project.
import on from '@web-native-js/play-ui/src/evt/on.js';
import play from '@web-native-js/play-ui/src/ani/play.js';
import cssAsync from '@web-native-js/play-ui/src/css/cssAsync.js';
// Bind to user gestures
on(el1, 'doubletap', e => {
// Play... then...
play(el2, {opacity: 0}).then(el2 => cssAsync(el2, 'display', 'none'));
});
To report bugs or request features, please submit an issue.
MIT.
FAQs
Utilities for easing DOM-related concerns, UI manipulation, events and gestures, animations, and more.
The npm package @onephrase/play-ui receives a total of 2 weekly downloads. As such, @onephrase/play-ui popularity was classified as not popular.
We found that @onephrase/play-ui 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.