Alias the result of an async call to a new name
ember install ember-async-let
A tagless component that prevents a block from rendering until the passed-in promise resolves
const context = {
methodName(param1, param2) {
return Promise.resolve('foobar');
}
};
This will show a specified component as a placeholder until the async call resolves
git clone <repository-url>
cd ember-async-let
npm install
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"npm test
– Runsember try:each
to test your addon against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.