Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twp0217/ngx-watermark

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twp0217/ngx-watermark

A watermark component for Angular

  • 7.0.1
  • npm
  • Socket score

Version published
Weekly downloads
34
increased by9.68%
Maintainers
1
Weekly downloads
 
Created
Source

ngx-watermark

A watermark component for Angular (基于Angular的水印组件)

安装

npm install @twp0217/ngx-watermark --save

使用

  • 安装依赖包:@twp0217/ngx-watermark
npm install @twp0217/ngx-watermark --save
  • 在module导入NgxWatermarkModule
import { NgxWatermarkModule } from '@twp0217/ngx-watermark';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NgxWatermarkModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
  • 在模板页面使用
<div watermark [watermarkOptions]="watermarkOptions"></div>

文档

  • watermarkOptions - WatermarkOptions - 配置信息

支持

  • 如果项目对你有帮助,请点颗星:star:,谢谢。
  • 如果你对项目有想法、问题、BUG,欢迎讨论。

FAQs

Package last updated on 03 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc