Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

samber/ngx-domarrow

Repository files navigation

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.

About

Declarative and template-driven DOMArrow integration for Angular2+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors