
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@ewc-lib/ewc-popover
Advanced tools
This popover opens below, above, left or right of a HTML element, depending on location and available space.
ewc-popover must have 2 children:
The children have to exist at init time (i.e. in static html) and can't be added at runtime. However, the children can still be manipulated at runtime.
Click and keyboard events regarding opening/closing are attached to the element in the slot named "toggle". The element itself does not need to handle them.
I.e. in case an ewc-icon-button is used to open/close an ewc-popover, the ewc-icon-button's "action" event can be ignored.
There are 3 different fixed widths, depending on available width (media queries). This is identical to the ECL.
In contrast to ECL, the dimensions of the ewc-popover can also be set explicitly via CSS like this:
<ewc-popover id="myPopover">
<style>#myPopover::part(contentContainer) {min-width: 808px; max-width: 808px;}</style>
An element within the content can be specified to close the popover. This is done by setting the attribute "data-ewc-popover-close" on it. Just existence is checked, value doesn't matter. Use case: a close button inside the popover.
1.0.3-alpha
1.0.2-alpha
1.0.1-alpha
1.0.0-alpha
0.2.5-alpha
FAQs

We found that @ewc-lib/ewc-popover demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.