ngx-domarrow
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

ngx-domarrow

This library brings domarrow to Angular 2+.

See demo.

Install

npm install ngx-domarrow

Usage

  1. Add declaration to your app.module.ts
import { NgxDomarrowModule } from 'ngx-domarrow';
 
@NgModule({
  imports: [
    ....,
    NgxDomarrowModule
  ],
  ...
})
  1. Add it to your template.
<ngx-domarrow from="#image-1" to="#image-2" [tail]="true" [onlyVisible]="true"
        color="red" text="Hello world"></ngx-domarrow>
 
<ngx-domarrow from="#image-1" to="#image-2" [head]="true" [tail]="true"
        color="#0000FF"></ngx-domarrow>
 
 
<ngx-domarrow from="#single" to=".multiple" [tail]="true"
        color="#0000FF"></ngx-domarrow>

Full list of properties => ./lib/src/lib/ngx-domarrow.component.ts

Contribute

npm install
npm run build
npm run test
npm run lint

Publish

Update package version into lib/package.json

npm run build
cd dist/ngx-domarrow/
npm publish

Credits

👏 Thanks to Bela Schaum for building domarrow.

Readme

Keywords

none

Package Sidebar

Install

npm i ngx-domarrow

Weekly Downloads

0

Version

0.7.2

License

none

Unpacked Size

230 kB

Total Files

24

Last publish

Collaborators

  • samuelberthe