1.0.1 • Published 7 years ago

ngx-image-panel v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

ngx-image-panel

Installation

To install this the image panel, run:

npm install ngx-image-panel --save

Consuming your ngx-image-panel

You can import the image panel in any Angular application by running:

npm install ngx-image-panel

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { NgxImagePanelModule } from 'ngx-image-panel';

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

Once the ngx-image-panel module is imported, you can use it in your Angular application:

<!-- You can now use the image panel in app.component.html -->

<ngx-image-panel [src]="src"></ngx-image-panel>