Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@ne1410s/demo
Advanced tools
A custom element for demonstration purposes and to serve as a project template.
<ne14-demo-tooltip reveal="Hey!">
<p>Hello world</p>
</ne14-demo-tooltip>
<script src="PATH_TO_UMD_SCRIPT"></script>
<ne14-demo-tooltip corner="3" reveal="Definition here"
>YO' STUFF<ne14-demo-tooltip></ne14-demo-tooltip
></ne14-demo-tooltip>
const tooltip = document.querySelector('ne14-demo-tooltip');
tooltip.addEventListener('...', () => {
console.log('Event fired!');
});
set
corner (number): Sets the attribute with the corresponding valueset
reveal (string): Sets the attribute with the corresponding valueSome degree of custom styling can be provided, by way of css variables:
ne14-demo-tooltip {
--src-border: 1px solid green;
--reveal-trg-bg: rebeccapurple;
}
--src-border-radius
Source item border radius. Defaults to: 3px
--src-border
Source item border. Defaults to: 1px solid black
--src-bg
Source item background. Defaults to: inherit
--src-fg
Source item foreground. Defaults to: inherit
--trg-border-radius
Target item border radius. Defaults to: 3px
--reveal-src-border
Source item border (in reveal mode). Defaults to: --src-border
--reveal-src-bg
Source item background (in reveal mode). Defaults to: inherit
--reveal-src-fg
Source item foreground (in reveal mode). Defaults to: inherit
--reveal-trg-border
Target item border (in reveal mode). Defaults to: 1px solid black
--reveal-trg-bg
Target item background (in reveal mode). Defaults to: white
--reveal-trg-fg
Target item foreground (in reveal mode). Defaults to: inherit
FAQs
A custom element for demonstration purposes and to serve as a project template.
The npm package @ne1410s/demo receives a total of 52 weekly downloads. As such, @ne1410s/demo popularity was classified as not popular.
We found that @ne1410s/demo demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.