https://github.com/emberjs/ember-jquery
https://github.com/emberjs/ember-jquery
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emberjs/ember-jquery
- Owner: emberjs
- License: mit
- Created: 2018-05-22T14:52:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-22T21:07:20.000Z (over 3 years ago)
- Last Synced: 2025-07-09T11:29:05.874Z (12 months ago)
- Language: JavaScript
- Size: 1.54 MB
- Stars: 16
- Watchers: 7
- Forks: 10
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
ember-jquery
==============================================================================
Ember has been historically coupled to jQuery. As part of
[RFC294](https://github.com/emberjs/rfcs/blob/master/text/0294-optional-jquery.md#introduce-emberjquery-package),
jQuery has been made optional.
This addon makes jQuery available in an Ember project. It also provides the mechanism that implements jQuery
integration when that feature is enabled.
Compatibility
------------------------------------------------------------------------------
* Ember.js v2.16 or above
* Ember CLI v2.13 or above
* Node.js v12 or above
Installation
------------------------------------------------------------------------------
```
ember install @ember/jquery
```
If you also wish to enable Ember's jQuery integration, you must do so explicitly:
```bash
ember install @ember/optional-features
ember feature:enable jquery-integration
```
Usage
------------------------------------------------------------------------------
```js
import jQuery from 'jquery'
const element = jQuery('#special');
```
Contributing
------------------------------------------------------------------------------
See the [Contributing](CONTRIBUTING.md) guide for details.
License
------------------------------------------------------------------------------
This project is licensed under the [MIT License](LICENSE.md).