
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
@doubletrade/lit-dialog
Advanced tools
lit-dialog provides a basic dialog written in LitElement.
lit-dialog
is a simple dialog web component.
For dev purpose:
git clone git@github.com:DoubleTrade/lit-dialog.git
For user purpose:
npm install @doubleTrade/lit-dialog
npm run serve
npm run lint
<lit-dialog title="Title" opened .html="This is a message">
</lit-dialog>
<lit-dialog opened .html="">
</lit-dialog>
Name | Type | Description |
---|---|---|
opened | Boolean | Open/close the dialog depending on boolean value |
title | String | Title of the dialog |
html | Object | Content to display, you can put a String, or a full HTML template |
closeOnEsc | Boolean | Close on Pressing ESCAPE key (default to false) |
closeOnClickOutside | Boolean | Close on Clicking Outside the dialog (default to false) |
closeIcon | Boolean | add a close Icon (default to false) |
primaryAction | Boolean | Display a button (default to false) |
primaryActionLabel | String | Label of primary action (default to 'Ok') |
secondaryAction | Boolean | Display a second button (default to false) |
secondaryActionLabel | String | Label of primary action (default to 'Cancel') |
Name | Description |
---|---|
open() => void | Open the dialog |
close() => void | Close the dialog |
Name | Target | Detail | Description |
---|---|---|---|
opened-changed | lit-dialog | {value: Boolean} | Fired when the dialog is opened or closed |
primary-action-clicked | lit-dialog | Fired when the primary action is clicked | |
secondary-action-clicked | lit-dialog | Fired when the secondary action is clicked |
FAQs
lit-dialog provides a basic dialog written in LitElement.
The npm package @doubletrade/lit-dialog receives a total of 8 weekly downloads. As such, @doubletrade/lit-dialog popularity was classified as not popular.
We found that @doubletrade/lit-dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.