
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@doubletrade/lit-dialog
Advanced tools
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.