Overlay Spinner Component for Angular
Find a file
2025-07-17 18:43:31 +02:00
.vscode initial commit 2022-08-06 22:04:13 +02:00
projects/overlay-spinner Update Angular version 2025-07-17 18:43:31 +02:00
.editorconfig initial commit 2022-08-06 22:04:13 +02:00
.gitignore initial commit 2022-08-06 22:04:13 +02:00
angular.json Initial version 2022-08-06 22:25:59 +02:00
LICENSE Initial version 2022-08-06 22:25:59 +02:00
package-lock.json Update Angular version 2025-07-17 18:43:31 +02:00
package.json Update Angular version 2025-07-17 18:43:31 +02:00
README.md Update readme 2022-08-07 00:54:13 +02:00
tsconfig.json Initial version 2022-08-06 22:25:59 +02:00

npm

Overlay Spinner Component for Angular

Installation

npm install @deejayy/overlay-spinner

Demo

Overlay Spinner Component demo

Usage

import { OverlaySpinnerModule } from '@deejayy/overlay-spinner';

Selector: overlay-spinner

Properties

Name Description
@Input()
title: string
Default: 'Please wait'

Title text to display below the animation.
@Input()
loading: boolean
Default: false

Is loading state in effect, so the spinner overlay should be active?
@Input()
fullPage: boolean
Default: false

Whether it should it cover the full page, not just the content which is embedded inside the <overlay-spinner>
@Input()
imagePath: string
Default: ''

The component has an animated SVG included by default, but this property gives the ability to replace it with hosted spinner animation/gif.

Examples

<overlay-spinner [loading]="(loading$ | async) === true">
  This is the content which should be covered with the overlay spinner while loading is in effect.
</overlay-spinner>