
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Angular sticky boxes
Angular attribute directive for the creation of sticky boxes in the web-pages of your applications. Compatible Angular4+.
This directive will have a result similar to the CSS3 property position: sticky but it also allows to set sticky boxes in respect to the bottom baseline of the view.
To install this component to an external project, follow the procedure:
npm install ngx-sticky --save
Add NgxStickyModule import to your @NgModule like example below
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NgxStickyModule } from 'ngx-sticky';
import { MyTestApp } from './my-test-app';
@NgModule({
imports: [
BrowserModule,
NgxStickyModule
],
declarations: [ MyTestApp ],
bootstrap: [ MyTestApp ]
})
export class MyTestAppModule {}
Apply the appSticky directive to your HTML tags and use the following attributes to manage its options.
<div appSticky position="top" margin="50" id="myElement"> </div>
| Option | Default | Type | Description |
|---|---|---|---|
| position | 'top' | string | Position of reference for the sticky. top: the element will stick in respect to the top line. bottom: the element will stick in respect to the bottom line. |
| margin | 0 | number | Number of pixel for the element margin in respect of the reference position while it is sticky. |
FAQs
Angular sticky boxes
We found that ngx-sticky demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.