Skip to content

deft/deft-angular-arrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deft-Arrow

Deft-Arrow is a small angular module that allows you to simply add an arrow(triangle) in your DOM wherever you want.

Installing Deft-Arrow

  • Clone the repo: git clone https://github.com/deft/deft-angular-arrow.git
<script src="/path/to/your/scripts/here/arrow.js"></script>
  • Install with Bower: bower install deft-angular-arrow
<script src="/bower_components/deft-angular-arrow/arrow.js"></script>

Using Deft-Arrow

  • Add a dependency to deft.arrow in your app module, eg: angular.module('myModule', ['deft.arrow'])
  • Add the arrow to a DOM element like:
<div>
	some pretty text here
	<div data-arrow="{side: 'right', width: 45, height: 15}"></div>
</div>

About

Directive for angularjs to create an easy formatted arrow

Resources

Stars

Watchers

Forks

Packages

No packages published