{"id":15015986,"url":"https://github.com/bbvaengineering/ember-route-helpers","last_synced_at":"2025-04-12T09:32:05.635Z","repository":{"id":21262076,"uuid":"92034959","full_name":"BBVAEngineering/ember-route-helpers","owner":"BBVAEngineering","description":"Transition into routes with helpers directly on template","archived":false,"fork":false,"pushed_at":"2023-02-27T22:42:50.000Z","size":2928,"stargazers_count":8,"open_issues_count":14,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-17T02:49:25.940Z","etag":null,"topics":["ember-addon","emberjs","templates","transition"],"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/BBVAEngineering.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-22T09:18:37.000Z","updated_at":"2022-09-28T11:56:39.000Z","dependencies_parsed_at":"2024-06-19T16:23:48.400Z","dependency_job_id":"eb04a9c5-def7-4106-a4bc-ccd3e15b9d1c","html_url":"https://github.com/BBVAEngineering/ember-route-helpers","commit_stats":{"total_commits":139,"total_committers":17,"mean_commits":8.176470588235293,"dds":0.7050359712230216,"last_synced_commit":"68ca131534016612a7dfecab2c5ed133fd80ae3e"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BBVAEngineering%2Fember-route-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BBVAEngineering%2Fember-route-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BBVAEngineering%2Fember-route-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BBVAEngineering%2Fember-route-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BBVAEngineering","download_url":"https://codeload.github.com/BBVAEngineering/ember-route-helpers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223510342,"owners_count":17157306,"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":["ember-addon","emberjs","templates","transition"],"created_at":"2024-09-24T19:48:14.835Z","updated_at":"2024-11-07T12:04:03.177Z","avatar_url":"https://github.com/BBVAEngineering.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-route-helpers\n\n[![Build Status](https://travis-ci.org/BBVAEngineering/ember-route-helpers.svg?branch=master)](https://travis-ci.org/BBVAEngineering/ember-route-helpers)\n[![GitHub version](https://badge.fury.io/gh/BBVAEngineering%2Fember-route-helpers.svg)](https://badge.fury.io/gh/BBVAEngineering%2Fember-route-helpers)\n[![NPM version](https://badge.fury.io/js/ember-route-helpers.svg)](https://badge.fury.io/js/ember-route-helpers)\n[![Dependency Status](https://david-dm.org/BBVAEngineering/ember-route-helpers.svg)](https://david-dm.org/BBVAEngineering/ember-route-helpers)\n[![codecov](https://codecov.io/gh/BBVAEngineering/ember-route-helpers/branch/master/graph/badge.svg)](https://codecov.io/gh/BBVAEngineering/ember-route-helpers)\n[![Greenkeeper badge](https://badges.greenkeeper.io/BBVAEngineering/ember-route-helpers.svg)](https://greenkeeper.io/)\n[![Ember Observer Score](https://emberobserver.com/badges/ember-route-helpers.svg)](https://emberobserver.com/addons/ember-route-helpers)\n\n## Information\n\n[![NPM](https://nodei.co/npm/ember-route-helpers.png?downloads=true\u0026downloadRank=true)](https://nodei.co/npm/ember-route-helpers/)\n\nTransition into routes with helpers directly on template.\n\n## Requirements\n\n- Ember.js v4.0.1 or above\n- Ember CLI v4.4.0 or above\n- Node.js v14 or above\n\n## Installation\n\n```\nember install ember-route-helpers\n```\n\n## Usage\n\n### `(transition-to 'destination' model (query-params foo='bar'))`\n\n`(transition-to)` helper that receives the same argument signature as `link-to` but evaluates to an action that can be called to trigger transition.\n\n```hbs\n\u003cbutton {{action (transition-to 'index')}}\u003eGo to Index\u003c/button\u003e\n```\n\n### `(replace-with 'destination' model (query-params foo='bar'))`\n\n`(replace-with)` helper that transition into another route while replacing the current URL, if possible. This will replace the current history entry instead of adding a new one. Beside that, it is identical to transitionTo in all other respects.\n\n```hbs\n\u003cbutton {{action (replace-with 'index')}}\u003eGo to Index\u003c/button\u003e\n```\n\n### `(transition-to-external 'destination' (query-params foo='bar'))`\n\n`(transition-to-external)` helper that transition from an Engine to an external route.\n\n```hbs\n\u003cbutton\n  {{action (transition-to-external 'parent-index' (query-params foo='bar'))}}\n\u003eGo to Index\u003c/button\u003e\n```\n\n### `(replace-with-external 'destination' (query-params foo='bar'))`\n\n`(replace-with-external)` helper that transition (replacing) from an Engine to an external route.\n\n```hbs\n\u003cbutton\n  {{action (replace-with-external 'parent-index' (query-params foo='bar'))}}\n\u003eGo to Index\u003c/button\u003e\n```\n\n## Contribute\n\nIf you want to contribute to this addon, please read the [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/BBVAEngineering/ember-route-helpers/tags).\n\n## Authors\n\nSee the list of [contributors](https://github.com/BBVAEngineering/ember-route-helpers/graphs/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbvaengineering%2Fember-route-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbvaengineering%2Fember-route-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbvaengineering%2Fember-route-helpers/lists"}