ionic3-image-viewer
v1.0.5
Published
Ionic 3 component providing a image viewer
Downloads
2
Maintainers
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