Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@nanopore/shells-linechart-tooltip
Advanced tools
This is a starter project for building a standalone Web Component using Stencil.
Stencil is also great for building entire apps. For that, use the stencil-app-starter instead.
Stencil is a compiler for building fast web apps using Web Components.
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
To start building a new web component using Stencil, clone this repo to a new directory:
git clone git@git.oxfordnanolabs.local:nano-shells/shells-linechart-tooltip.git nanoshell-linechart-tooltip
cd nanoshell-linechart-tooltip
and run:
npm install
npm run setup
npm run start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Need help? Check out our docs here.
Once cloned you will have a default component nanoshell-linechart-tooltip
. There are a number of files that have to be modified to make the components and repository specific to your need. To help you there is a helper script that can be called by running npm setup
. This will ask for a NPM package name for the internal ONT NPM registry as well as the component name you would like to build. The script will automatically rename files and remove the git remote origin so that you don't overwrite the starter project
When creating new component tags, we recommend not using stencil
in the component name (ex: <stencil-datepicker>
). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix ion
.
<script src='https://unpkg.com/nanoshell-linechart-tooltip@0.0.1/dist/mycomponent.js'></script>
in the head of your index.htmlnpm install nanoshell-linechart-tooltip --save
<script src='node_modules/nanoshell-linechart-tooltip/dist/mycomponent.js'></script>
in the head of your index.htmlnpm install nanoshell-linechart-tooltip --save
import nanoshell-linechart-tooltip;
FAQs
Nano-shells linechart tooltip
The npm package @nanopore/shells-linechart-tooltip receives a total of 0 weekly downloads. As such, @nanopore/shells-linechart-tooltip popularity was classified as not popular.
We found that @nanopore/shells-linechart-tooltip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.