Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/betocantu93/ember-handy-globals
https://github.com/betocantu93/ember-handy-globals
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/betocantu93/ember-handy-globals
- Owner: betocantu93
- License: mit
- Created: 2020-06-20T19:19:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T03:06:14.000Z (about 2 years ago)
- Last Synced: 2024-10-13T05:27:53.637Z (2 months ago)
- Language: JavaScript
- Size: 8.52 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
ember-handy-globals
==============================================================================Adds some globals to your Ember.js App, for easier developing!
Installation
------------------------------------------------------------------------------```
ember install ember-handy-globals
```Usage
------------------------------------------------------------------------------Open the browser console and start using it!
## Easy object picking
- App.lookup('service:some-service')
- App.service('some-service')
- App.controller('some.route')
- App.route('some.route')## Current Context
Grabs the current active the objects of the current active route- App.ctx.route
- App.ctx.controller
- App.ctx.modelContributing
------------------------------------------------------------------------------Have any ideas? please open a PR or file an issue.
License
------------------------------------------------------------------------------This project is licensed under the [MIT License](LICENSE.md).