{"id":15537316,"url":"https://github.com/nullvoxpopuli/ember-noop","last_synced_at":"2025-04-15T22:51:49.757Z","repository":{"id":43991237,"uuid":"225028621","full_name":"NullVoxPopuli/ember-noop","owner":"NullVoxPopuli","description":"helpers for conditional actions.","archived":false,"fork":false,"pushed_at":"2023-08-15T00:38:17.000Z","size":324,"stargazers_count":8,"open_issues_count":25,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T22:51:47.513Z","etag":null,"topics":[],"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/NullVoxPopuli.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-11-30T15:03:07.000Z","updated_at":"2023-01-13T18:46:31.000Z","dependencies_parsed_at":"2024-10-24T08:28:59.858Z","dependency_job_id":"8832fc49-c3be-4431-a355-0d7a2dce8bf3","html_url":"https://github.com/NullVoxPopuli/ember-noop","commit_stats":{"total_commits":12,"total_committers":5,"mean_commits":2.4,"dds":"0.33333333333333337","last_synced_commit":"31594843d64a6eca3c29bcb25ab7e3ed5600c7dd"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-noop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-noop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-noop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-noop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NullVoxPopuli","download_url":"https://codeload.github.com/NullVoxPopuli/ember-noop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249167436,"owners_count":21223505,"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":[],"created_at":"2024-10-02T11:56:04.148Z","updated_at":"2025-04-15T22:51:49.736Z","avatar_url":"https://github.com/NullVoxPopuli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ember-noop\n==============================================================================\n\nEver wanted to have an optional action? maybe with the `on` modifier?\n\n_Now you can!_\n\n\n*Using the `noop` helper*\n```hbs\n\u003cbutton {{on 'click' (if this.condition this.myAction (noop))}}\u003e\n  if condition is falsey, clicking won't do anything\n\u003c/button\u003e\n```\n\n*Using the `fn-if` helper*\n```hbs\n\u003cbutton {{on 'click' (fn-if this.condition this.myAction)}}\u003e\n  This provides a shorthand for the above\n\u003c/button\u003e\n```\n\n\n_Note: It's recommended to use `disabled` with unclickable buttons._\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v3.11+\n* Ember.js v2.18+ with the [on modifier polyfill](https://github.com/buschtoens/ember-on-modifier)\n* Any Ember version, because these are just helpers, and helper have been around for a while.\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-noop\n```\n\nContributing\n------------------------------------------------------------------------------\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullvoxpopuli%2Fember-noop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullvoxpopuli%2Fember-noop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullvoxpopuli%2Fember-noop/lists"}