
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
@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 215 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.