{"id":13777665,"url":"https://github.com/jeffling/angular-jl-tether","last_synced_at":"2025-12-12T04:35:48.723Z","repository":{"id":16845178,"uuid":"19604961","full_name":"jeffling/angular-jl-tether","owner":"jeffling","description":"Tether for Angular, so you can use it in directives declaratively","archived":false,"fork":false,"pushed_at":"2017-10-11T08:41:50.000Z","size":48,"stargazers_count":22,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-17T13:37:38.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-09T08:49:18.000Z","updated_at":"2018-11-01T20:54:59.000Z","dependencies_parsed_at":"2022-07-15T10:30:59.695Z","dependency_job_id":null,"html_url":"https://github.com/jeffling/angular-jl-tether","commit_stats":null,"previous_names":["jeffling/ng-tether"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffling%2Fangular-jl-tether","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffling%2Fangular-jl-tether/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffling%2Fangular-jl-tether/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffling%2Fangular-jl-tether/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffling","download_url":"https://codeload.github.com/jeffling/angular-jl-tether/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225829332,"owners_count":17530663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T18:00:46.872Z","updated_at":"2025-12-12T04:35:43.666Z","avatar_url":"https://github.com/jeffling.png","language":"JavaScript","readme":"\njl-tether (formerly ng-tether)\n=========\n\n[Tether](http://tether.io) wrapper for Angular, so you can use it in directives declaratively. **Tether is included**\n\nNot 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.\n\n# Install\n\n`bower install jl-tether` or `npm install jl-tether`\n\n# Usage\n\nInclude `jlTether` as an angular module dependency, then\n\n```html\n\u003cdiv jl-tether jl-tether-options=\"{\n    target: '.target',\n    attachment: 'top left',\n    targetAttachment: 'top right'\n}\"\u003e\u003c/div\u003e\n```\n\nor\n\n```html\n\u003cdiv jl-tether \n jl-tether-target=\".target\" \n jl-tether-attachment=\"top left\"\n jl-tether-target-attachment=\"top right\"\u003e\u003c/div\u003e\n```\n\nYou can grab a reference to the Tether object if you want by passing a string into `jl-tether`. \n\n```html\n\u003cdiv jl-tether=\"ngTetherReference\" \n jl-tether-target=\".target\" \n jl-tether-attachment=\"top left\"\n jl-tether-target-attachment=\"top right\"\u003e\u003c/div\u003e\n```\n\n`ngTetherReference` will now be in `$scope`. You can do things like\n\n```html\n\u003cdiv ng-click=\"ngTetherReference.destroy()\"\u003ekind of a button\u003c/div\u003e\n```\n\nTo destroy it. \n\nYou can see the [Tether docs](http://tether.io) for a full list of options and api functions. \n\n\n# Building\n\n`npm run deps` to get the dependencies  \n`npm run dist` to build  \n`npm run watch` to continuously build   \n\n","funding_links":[],"categories":["Directive"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffling%2Fangular-jl-tether","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffling%2Fangular-jl-tether","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffling%2Fangular-jl-tether/lists"}