
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@sat/popover
Advanced tools
Wrap any component you want to display in a popover with sat-popover
.
<sat-popover>
<app-contact-overview [contact]="myContact"></app-contact-overview>
</sat-popover>
Next, hook the popover to an anchor element.
<button [satPopoverAnchorFor]="contactPopover">
See Details
</button>
<sat-popover #contactPopover>
<app-contact-overview [contact]="myContact"></app-contact-overview>
</sat-popover>
Now, whenever the button is clicked, the <app-contact-overview>
popover will appear over the
button. If you instead want the popover to appear below the anchor:
<sat-popover #contactPopover yPosition="below">
<!-- ... -->
</sat-popover>
You can use the following to position the popover around the anchor:
Input | Type | Default |
---|---|---|
xPosition | 'before' | 'center' | 'after' | 'center' |
yPosition | 'above' | 'center' | 'below' | 'center' |
overlapAnchor | boolean | true |
Note: When the
xPosition
andyPosition
are both'center'
,overlapAnchor
will have no effect.
If you want to respond to events other than anchor clicks, you can disable the click handler and implement your own:
<button [satPopoverAnchorFor]="contactPopover" satDisableClick>
See Details
</button>
@ViewChild(SatPopoverAnchor) anchor: SatPopoverAnchor;
openContactPopover(): void {
this.anchor.openPopover();
}
TODO
npm build
npm watch
npm start
Built with Angular CLI and ng-packagr.
FAQs
Popover component for Angular
The npm package @sat/popover receives a total of 1 weekly downloads. As such, @sat/popover popularity was classified as not popular.
We found that @sat/popover demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.