{"id":19540595,"url":"https://github.com/polymerelements/iron-autogrow-textarea","last_synced_at":"2025-04-05T21:09:54.239Z","repository":{"id":30979751,"uuid":"34538029","full_name":"PolymerElements/iron-autogrow-textarea","owner":"PolymerElements","description":"Textarea that grows in height as more lines of input are entered","archived":false,"fork":false,"pushed_at":"2023-10-16T14:02:55.000Z","size":433,"stargazers_count":19,"open_issues_count":24,"forks_count":48,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-05-09T10:09:30.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://webcomponents.org/element/PolymerElements/iron-autogrow-textarea","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PolymerElements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-24T19:38:59.000Z","updated_at":"2024-06-18T13:57:57.893Z","dependencies_parsed_at":"2024-06-18T13:57:53.999Z","dependency_job_id":"363b9e2b-32c5-4170-b20e-fba3d8b6e4cd","html_url":"https://github.com/PolymerElements/iron-autogrow-textarea","commit_stats":{"total_commits":166,"total_committers":36,"mean_commits":4.611111111111111,"dds":0.7891566265060241,"last_synced_commit":"f474928758778aaaaf956b45c264f3c7c3e5f29a"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-autogrow-textarea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-autogrow-textarea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-autogrow-textarea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-autogrow-textarea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolymerElements","download_url":"https://codeload.github.com/PolymerElements/iron-autogrow-textarea/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399885,"owners_count":20932880,"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-11-11T03:05:04.823Z","updated_at":"2025-04-05T21:09:54.216Z","avatar_url":"https://github.com/PolymerElements.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003c!---\n\nThis README is automatically generated from the comments in these files:\niron-autogrow-textarea.html\n\nEdit those files, and our readme bot will duplicate them over here!\nEdit this file, and the bot will squash your changes :)\n\nThe bot does some handling of markdown. Please file a bug if it does the wrong\nthing! https://github.com/PolymerLabs/tedium/issues\n\n--\u003e\n[![Published on NPM](https://img.shields.io/npm/v/@polymer/iron-autogrow-textarea.svg)](https://www.npmjs.com/package/@polymer/iron-autogrow-textarea)\n[![Build status](https://travis-ci.org/PolymerElements/iron-autogrow-textarea.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-autogrow-textarea)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://webcomponents.org/element/@polymer/iron-autogrow-textarea)\n\n\n## \u0026lt;iron-autogrow-textarea\u0026gt;\n\n`iron-autogrow-textarea` is an element containing a textarea that grows in height as more\nlines of input are entered. Unless an explicit height or the `maxRows` property is set, it will\nnever scroll.\n\nSee: [Documentation](https://www.webcomponents.org/element/@polymer/iron-autogrow-textarea),\n  [Demo](https://www.webcomponents.org/element/@polymer/iron-autogrow-textarea/demo/demo/index.html).\n\n\n  ## Usage\n\n  ### Installation\n  ```\n  npm install --save @polymer/iron-autogrow-textarea\n  ```\n\n  ### In an html file\n  ```html\n  \u003chtml\u003e\n    \u003chead\u003e\n      \u003cscript type=\"module\"\u003e\n        import '@polymer/iron-autogrow-textarea/iron-autogrow-textarea.js';\n      \u003c/script\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n      \u003ciron-autogrow-textarea\u003e\u003c/iron-autogrow-textarea\u003e\n    \u003c/body\u003e\n  \u003c/html\u003e\n  ```\n  ### In a Polymer 3 element\n  ```js\n  import {PolymerElement, html} from '@polymer/polymer';\n  import '@polymer/iron-autogrow-textarea/iron-autogrow-textarea.js';\n\n  class SampleElement extends PolymerElement {\n    static get template() {\n      return html`\n        \u003ciron-autogrow-textarea\u003e\u003c/iron-autogrow-textarea\u003e\n      `;\n    }\n  }\n  customElements.define('sample-element', SampleElement);\n  ```\n\n  ## Contributing\n  If you want to send a PR to this element, here are\n  the instructions for running the tests and demo locally:\n\n  ### Installation\n  ```sh\n  git clone https://github.com/PolymerElements/iron-autogrow-textarea\n  cd iron-autogrow-textarea\n  npm install\n  npm install -g polymer-cli\n  ```\n\n  ### Running the demo locally\n  ```sh\n  polymer serve --npm\n  open http://127.0.0.1:\u003cport\u003e/demo/\n  ```\n\n  ### Running the tests\n  ```sh\n  polymer test --npm\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymerelements%2Firon-autogrow-textarea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolymerelements%2Firon-autogrow-textarea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymerelements%2Firon-autogrow-textarea/lists"}