
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@epigraph/modal
Advanced tools
This project includes a sample component using LitElement with TypeScript.
You need to import our web component module. We recommend that you do this in the head. It's important that type="module" is specified.
<head>
<script type="module" async src="https://www.unpkg.com/@epigraph/modal/dist/epigraph-modal.min.js"></script>
</head>
You can insert epigraph-modal elements anywhere you'd like. Epigraph modal currently serves one purpose: to embed a responsive, customizable modal directly in your page.
modal-background-style: [String, optional] Allows you to add additional styling onto the default modal background styling. This is a reactive attribute, so changing the attribute will force a modal reload.modal-style: [String, optional] Allows you to add additional styling onto the default modal styling. This is a reactive attribute, so changing the attribute will force a modal reload.close-button-style: [String, optional] Allows you to add additional styling onto the default close button styling. This is a reactive attribute, so changing the attribute will force a modal reload.done-button-style: [String, optional] Allows you to add additional styling onto the default done button styling. This is a reactive attribute, so changing the attribute will force a modal reload.<epigraph-modal modal-background-style="background-color: rgba(0, 255, 0, 0.5);">
<div class="modal-content" slot="modal-content">
<div class="modal-text">
<div class="modal-text-scan-line">
Scan the QR code to view this item in your space.
</div>
<br />
<div class="modal-text-instructions">
Using your mobile device* camera, scan the QR code below and
follow the on-screen directions to see how this item looks in
your space. <br />
<br />
*Technical requirements: iOS Version 11 and later or Android 8
and later.
</div>
</div>
<div class="modal-qr-container">
<img class="modal-qr-image"
src="qr-source-image.png" />
</div>
</div>
</epigraph-modal>
Currently the modal is shown upon receiving a show-modal event.
window.onload = () => {
document.querySelector('epigraph-modal').dispatchEvent(new Event('show-modal'));
}
Currently, the web component only nallows limited custom inline styling through the use of reactive properties, it is our hope that we will have more options in the future to allow more custom styling of the web component.
FAQs
The Epigraph Modal web component
The npm package @epigraph/modal receives a total of 6 weekly downloads. As such, @epigraph/modal popularity was classified as not popular.
We found that @epigraph/modal 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.