{"id":15542911,"url":"https://github.com/jelhan/ember-autoresize-modifier","last_synced_at":"2025-05-07T16:08:20.792Z","repository":{"id":36971731,"uuid":"245616163","full_name":"jelhan/ember-autoresize-modifier","owner":"jelhan","description":"Autoresize Element Modifier for Ember.js","archived":false,"fork":false,"pushed_at":"2025-05-07T11:37:59.000Z","size":3114,"stargazers_count":22,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T16:08:03.490Z","etag":null,"topics":["ember","ember-addon","ember-modifier","hacktoberfest"],"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/jelhan.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,"zenodo":null}},"created_at":"2020-03-07T10:57:24.000Z","updated_at":"2025-05-07T11:36:15.000Z","dependencies_parsed_at":"2023-02-12T13:47:22.411Z","dependency_job_id":"62169a01-f492-4f77-b980-a6bd6897f6d1","html_url":"https://github.com/jelhan/ember-autoresize-modifier","commit_stats":{"total_commits":169,"total_committers":7,"mean_commits":"24.142857142857142","dds":0.3254437869822485,"last_synced_commit":"495a4225e0237ac7f64773dfad20f58533fdf969"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-autoresize-modifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-autoresize-modifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-autoresize-modifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-autoresize-modifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jelhan","download_url":"https://codeload.github.com/jelhan/ember-autoresize-modifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252912996,"owners_count":21824066,"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","ember-addon","ember-modifier","hacktoberfest"],"created_at":"2024-10-02T12:24:52.614Z","updated_at":"2025-05-07T16:08:20.780Z","avatar_url":"https://github.com/jelhan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-autoresize-modifier\n\nElement Modifier that resizes a `\u003ctextarea\u003e` accordingly to the input.\n\n## Compatibility\n\n* Ember.js v4.12 or above\n* Ember CLI v4.12 or above\n* Node.js v18 or above\n\n## Installation\n\n```sh\nember install ember-autoresize-modifier\n```\n\n## Usage\n\n```hbs\n\u003ctextarea {{autoresize}}\u003e\n\u003ctextarea {{autoresize mode='width'}}\u003e\n```\n\nIf you bind a property to the value of the textarea, you must also pass it as\nan argument to `{{autoresize}}` modifier. Otherwise the textarea won't resize\nwhen the value is changed programmatically:\n\n```hbs\n\u003ctextarea value={{this.foo}} {{autoresize this.foo}}\u003e\n\u003ctextarea value={{this.foo}} {{autoresize this.foo mode='width'}}\u003e\n```\n\nThe addon takes resizes the textarea by setting `height` / `width` CSS\nproperty. It overrules all custom values of the `height` / `width` property.\nTherefore styles of textareas using this modifier must not rely on `height` /\n`width` CSS property.\n\nUse CSS `min-height` / `min-width` and `max-height` / `max-width` properties\nto enforce a minimum and/or maximum height / width.\n\n\nKnown Limitations\n------------------------------------------------------------------------------\n\n- Element Modifiers are not executed in server-side rendering / FastBoot. The\n  textarea won't be resized until rehydration.\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelhan%2Fember-autoresize-modifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjelhan%2Fember-autoresize-modifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelhan%2Fember-autoresize-modifier/lists"}