Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeffling/angular-jl-tether

Tether for Angular, so you can use it in directives declaratively
https://github.com/jeffling/angular-jl-tether

Last synced: 3 months ago
JSON representation

Tether for Angular, so you can use it in directives declaratively

Awesome Lists containing this project

README

        

jl-tether (formerly ng-tether)
=========

[Tether](http://tether.io) wrapper for Angular, so you can use it in directives declaratively. **Tether is included**

Not to be mistaken for a very cool project called [`angular-tether`](https://github.com/nissoh/angular-tether) that is in the process of implementing Tether in angular.

# Install

`bower install jl-tether` or `npm install jl-tether`

# Usage

Include `jlTether` as an angular module dependency, then

```html


```

or

```html


```

You can grab a reference to the Tether object if you want by passing a string into `jl-tether`.

```html


```

`ngTetherReference` will now be in `$scope`. You can do things like

```html

kind of a button

```

To destroy it.

You can see the [Tether docs](http://tether.io) for a full list of options and api functions.

# Building

`npm run deps` to get the dependencies
`npm run dist` to build
`npm run watch` to continuously build