1.0.6-DEP • Published 8 years ago

angular-simple-overlay v1.0.6-DEP

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
8 years ago

DEPRECATED

use aytacworld-angular-overlay instead.

angular-simple-overlay

A simple overlay directive for Angular.

Installation

Add the package to your application.

npm install --save angular-simple-overlay

Getting started

Import the overlay module to your angular module.

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { OverlayModule } from 'ng-simple-overlay';

@NgModule({
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    OverlayModule
  ],
  declarations: [AppComponent],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {
}

Add the overlay directive to an element, like a container div.

<div [overlay]="true">...</div>

Todo

  • add text
  • add spinner
  • add custom text
  • add custom style
1.0.6-DEP

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago