ionic3-image-viewer
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i ionic3-image-viewer

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

391 kB

Total Files

145

Last publish

Collaborators

  • tinyq