ionic3-image-viewer

Ionic 3 component providing a image viewer

Usage no npm install needed!

<script type="module">
  import ionic3ImageViewer from 'https://cdn.skypack.dev/ionic3-image-viewer';
</script>

README

ionic3-image-viewer

A simple international telephone number input. Allows you to create a phone number field with country dropdown.

Installation

To install this library, run:

$ npm install ionic3-image-viewer --save

Consuming your library

Once you have installed it you can import ImageViewerModule from ionic3-image-viewer in any application module. E.g.

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

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

// Import your library
import { ImageViewerModule } from 'ionic3-image-viewer';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // ImageViewerModule module
    ImageViewerModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once it is imported, you can use <image-viewer></image-viewer>:

<!-- app.component.html -->
<image-viewer url="https://...."></image-viewer>

License

MIT