@geom_team/ngx-slider-captcha
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

ngx-slider-captcha

This project was generated with Angular CLI version 11.2.14.

installation

  #use npm
  npm install @geom_team/ngx-slider-captcha
  #use yarn
  yarn add @geom_team/ngx-slider-captcha

usage example

import { NgxSliderCaptchaModule } from "@geom_team/ngx-slider-captcha";
@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, NgxSliderCaptchaModule],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}

use component in html

<ngx-slider-captcha [config]="config" (success)="success()" (fail)="fail()" (refresh)="refresh()"></ngx-slider-captcha>

add assets

在 angular.json 中添加以下内容

 {
    "assets": [
      {
        "glob": "**/*",
        "input": "node_modules/@geom_team/ngx-slider-captcha/src/assets",
        "output": "assets"
      }
    ]
  } 

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @geom_team/ngx-slider-captcha

    Weekly Downloads

    1

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    287 kB

    Total Files

    25

    Last publish

    Collaborators

    • lcmomo
    • thebeard
    • jhsz_npm