{"id":21112881,"url":"https://github.com/igorpreston/ember-typed","last_synced_at":"2025-07-24T05:32:52.964Z","repository":{"id":57224467,"uuid":"53577646","full_name":"igorpreston/ember-typed","owner":"igorpreston","description":"Autotyping strings for Ember.js apps.","archived":false,"fork":false,"pushed_at":"2017-06-02T14:41:04.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T20:25:29.154Z","etag":null,"topics":["ember","ember-cli","ember-cli-addon","typed-js"],"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/igorpreston.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-10T10:58:41.000Z","updated_at":"2024-05-30T03:33:26.000Z","dependencies_parsed_at":"2022-09-04T07:41:28.329Z","dependency_job_id":null,"html_url":"https://github.com/igorpreston/ember-typed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igorpreston/ember-typed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorpreston%2Fember-typed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorpreston%2Fember-typed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorpreston%2Fember-typed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorpreston%2Fember-typed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorpreston","download_url":"https://codeload.github.com/igorpreston/ember-typed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorpreston%2Fember-typed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264323926,"owners_count":23590767,"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-cli","ember-cli-addon","typed-js"],"created_at":"2024-11-20T01:34:38.345Z","updated_at":"2025-07-08T18:31:41.490Z","avatar_url":"https://github.com/igorpreston.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-typed\n\nThis addon is a go-to solution for integration of [Typed.js](https://github.com/mattboldt/typed.js/) library into Ember.js as component.\n\n## Installation\n\n```\nember install ember-typed\n```\n\n## How to use\n```\n{{typed-string}}\n```\n\nTo correctly pass array of strings, you will need to define the property on your Ember.Controller first:\n```\nexport default Ember.Controller.extend({\n  typedStrings: [\"first sentence\", \"second sentence\"]\n});\n```\nThen pass it to component:\n```\n{{typed-string strings=typedStrings}}\n```\n\n### Available properties\n```\n// Array of strings for auto-typing\nstrings: [\"First sentence.\", \"Second sentence.\"],\n// Optionally use an HTML element to grab strings from (must wrap each string in a \u003cp\u003e)\nstringsElement: null,\n// typing speed\ntypeSpeed: 0,\n// time before typing starts\nstartDelay: 0,\n// backspacing speed\nbackSpeed: 0,\n// time before backspacing\nbackDelay: 500,\n// loop\nloop: false,\n// false = infinite\nloopCount: false,\n// show cursor\nshowCursor: true,\n// character for cursor\ncursorChar: \"|\",\n// attribute to type (null == text)\nattr: null,\n// either html or text\ncontentType: 'html',\n// call when done callback function\ncallback: function() {},\n// starting callback function before each string\npreStringTyped: function() {},\n//callback for every typed string\nonStringTyped: function() {},\n// callback for reset\nresetCallback: function() {}\n```\n\n### If you want blinking cursor...\nAdd this CSS to your app styles.\n```\n.typed-cursor {\n    opacity: 1;\n    -webkit-animation: blink 0.7s infinite;\n    -moz-animation: blink 0.7s infinite;\n    animation: blink 0.7s infinite;\n}\n\n@keyframes blink {\n    0% { opacity:1; }\n    50% { opacity:0; }\n    100% { opacity:1; }\n}\n\n@-webkit-keyframes blink {\n    0% { opacity:1; }\n    50% { opacity:0; }\n    100% { opacity:1; }\n}\n\n@-moz-keyframes blink {\n    0% { opacity:1; }\n    50% { opacity:0; }\n    100% { opacity:1; }\n}\n```\n\n## Anything else?\nPlease refer to the [Typed.js](https://github.com/mattboldt/typed.js/) library for docs on advanced features.\n\n## Running\n\n* `ember server`\n* Visit your app at http://localhost:4200.\n\n## Running Tests\n\n* `npm test` (Runs `ember try:testall` to test your addon against multiple Ember versions)\n* `ember test`\n* `ember test --server`\n\n## Building\n\n* `ember build`\n\nFor more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).\n\n## Credits\nThanks to [mattboldt](https://github.com/mattboldt) for such awesome library!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorpreston%2Fember-typed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorpreston%2Fember-typed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorpreston%2Fember-typed/lists"}