1.0.1 • Published 4 years ago

@flywine93/ngx-imgclicker v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

ngx-imgclicker npm version LICENSE

NPM

logo

Installation

npm i @flywine93/ngx-imgclicker -S
npm i panzoom -S

Usage

1.Import module into App Module.

import { NgxImgclickerModule } from '@flywine93/ngx-imgclicker';


@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    CommonModule, // import
    NgxImgclickerModule // import
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

2.demo

<p style="text-align:center;">Test ngx-imgclicker</p>

<img src="https://img95.699pic.com/photo/50046/5562.jpg_wh300.jpg">

<ngx-imgclicker></ngx-imgclicker>

logo