Angular Module For Page Scroll Locking | NGX Scroll locker

NGX Scroll locker, the angular module of the page scroll lock component is to make the page scroll locking process transparent and easier.

ngx page scroll stackblitz, ngx page scroll not working, angular scroll module, ngx page scroll demo, angular scroll to element, page scroll in angular, ngx scrollbar

Single One Page Scrolling Website In Pure JavaScript | skrllr.js

How to make use of it:


npm install ngx-scroll-lock --save

1. You will need to add NgxScrollLockModule to your application module.

import { NgxScrollLockModule } from 'ngx-scroll-lock';
  declarations: [
  imports: [
  providers: [],
  bootstrap: [YourAppComponent]

export class YourAppComponent {}

2. Then you can use the ngx-scroll-lock component in your templates, to pass the target element to the component itself and/or.

import { Component } from "@angular/core";

  selector: "my-app",
  templateUrl: "./app.component.html",
  styleUrls: ["./app.component.css"],
export class AppComponent {
  lock = false;
  target = "#my-element-with-scroll";
<ngx-scroll-lock [lock]="lock" [target]="target"></ngx-scroll-lock>
<div id="my-element-with-scroll"></div>

Angular Module For Page Scroll, NGX Scroll locker Plugin/Github

See Demo And Download

Official Website(willmendesneto): Click Here

This superior jQuery/javascript plugin is developed by willmendesneto. For extra advanced usage, please go to the official website.

Related Posts


Responsive Multiple Selection Combo Box using Bootstrap 3 | MagicSuggest

MagicSuggest is an easy-to-use jQuery plugin for creating a combo menu that allows you to select multiple items from a dropdown list with typing and auto-complete support….


Material Design Inspired Tab UI In Vanilla JavaScript

Material Design tab vanilla JS implements a material design-inspired tab component with a click ripple effect and an active sliding menu cursor. Must Read: Responsive Accessible Tabs…


Simple Countdown Timer App In jQuery

The countdown is a front-end application that allows starting the countdown with two options: set a target date or write the number of countdown days. A countdown…


Add Animation to Your HTML5 Pages | animate.js

animate.js is a small JavaScript library that provides a convenient way to apply CSS animations powered by Animate.css to DOM elements without writing any CSS. Easily apply…


Responsive Hover Parallax Cards With Vuejs

Vue Responsive Parallax Cards Hover Create response cards with a scroll-triggered parallax effect in your Vue.js application. Must Read: jQuery Sliding Display Your Content Like a Deck…


Responsive Pure CSS Only Accordion & Tabs Component

Responsive pure CSS accordion tabs and tabs will automatically convert to a vertical accordion interface on mobile devices. Must Read: Create Dynamic Accordion Giving JSON Data Using…