Ember Route Task Helper

screenshot of Ember Route Task Helper
ember

Easily access tasks defined on a route in your templates

Overview:

The ember-route-task-helper is an addon that allows you to easily access tasks defined on a route in the currently active route hierarchy. It is similar to the ember-route-action-helper but specifically designed for ember-concurrency tasks. This addon is compatible with Ember versions 2.4.x and up.

Features:

  • Access tasks defined on a route in the currently active route hierarchy.
  • Use the (route-task) helper in templates to access tasks by name.
  • Currying: tasks can be curried with multiple arguments.
  • Util: routeTask for JS heavy components.
  • Compatibility with ember-concurrency tasks.

Summary:

The ember-route-task-helper is a useful addon for accessing and managing tasks defined on routes in the currently active route hierarchy. It provides a (route-task) helper that can be used in templates to access tasks by name, and supports currying for tasks with multiple arguments. Additionally, there is a routeTask util available for JS heavy components. This addon is compatible with Ember versions 2.4.x and up, and requires ember-concurrency to be installed.

ember
Ember

Ember.js is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich UIs that work on any device.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.