Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jeffling/angular-jl-tether
- Owner: jeffling
- License: mit
- Created: 2014-05-09T08:49:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T08:41:50.000Z (about 7 years ago)
- Last Synced: 2024-07-17T06:42:22.207Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 46.9 KB
- Stars: 22
- Watchers: 1
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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