{"id":13535397,"url":"https://github.com/oxycoder/ng2-loading-animate","last_synced_at":"2025-04-02T01:30:44.094Z","repository":{"id":143896669,"uuid":"66943478","full_name":"oxycoder/ng2-loading-animate","owner":"oxycoder","description":"Loading animation for angular 2","archived":true,"fork":false,"pushed_at":"2017-06-03T03:07:44.000Z","size":2606,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-02T08:10:11.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/oxycoder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-08-30T13:34:04.000Z","updated_at":"2023-01-28T19:14:26.000Z","dependencies_parsed_at":"2024-01-16T15:49:37.961Z","dependency_job_id":null,"html_url":"https://github.com/oxycoder/ng2-loading-animate","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxycoder%2Fng2-loading-animate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxycoder%2Fng2-loading-animate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxycoder%2Fng2-loading-animate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxycoder%2Fng2-loading-animate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxycoder","download_url":"https://codeload.github.com/oxycoder/ng2-loading-animate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222788514,"owners_count":17037777,"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-08-01T08:00:55.553Z","updated_at":"2024-11-02T23:31:21.877Z","avatar_url":"https://github.com/oxycoder.png","language":"TypeScript","readme":"# Angular2 Loading Animate\n[![Build Status](https://travis-ci.org/oxycoder/ng2-loading-animate.svg?branch=master)](https://travis-ci.org/oxycoder/ng2-loading-animate)\n[![npm version](https://badge.fury.io/js/ng2-loading-animate.svg)](http://badge.fury.io/js/ng2-loading-animate)\n[![devDependency Status](https://david-dm.org/oxycoder/ng2-loading-animate/dev-status.svg)](https://david-dm.org/oxycoder/ng2-loading-animate#info=devDependencies)\n[![GitHub issues](https://img.shields.io/github/issues/oxycoder/ng2-loading-animate.svg)](https://github.com/oxycoder/ng2-loading-animate/issues)\n[![GitHub stars](https://img.shields.io/github/stars/oxycoder/ng2-loading-animate.svg)](https://github.com/oxycoder/ng2-loading-animate/stargazers)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/oxycoder/ng2-loading-animate/master/LICENSE)\n\n## Demo\nhttps://oxycoder.github.io/ng2-loading-animate/demo/\n\n## Table of contents\n\n- [About](#about)\n- [Installation](#installation)\n- [Development](#development)\n- [License](#licence)\n\n## About\n\nLoading animation for angular 2\n\n## Installation\n\nInstall through npm:\n```\nnpm install --save ng2-loading-animate\n```\n\nThen use it in your app like so:\n\napp.module.ts\n\n```typescript\nimport { LoadingAnimateModule, LoadingAnimateService } from 'ng2-loading-animate';\n\n@NgModule({\n  imports: [\n    ...\n    LoadingAnimateModule.forRoot()\n    ...\n  ],\n  providers: [\n    ...\n    LoadingAnimateService\n    ...\n  ]\n})\n```\n\nAdd directives to your app.component.html (usually at top):\n\n```html5\n\u003cloading-animate\u003e\u003c/loading-animate\u003e\n```\n\nIn component, to start loading animate:\ntest.component.ts\n\n```typescript\nimport { LoadingAnimateService } from 'ng2-loading-animate';\n\nconstructor(private _loadingSvc: LoadingAnimateService)\n\nstart() {\n  this._loadingSvc.setValue(true);\n}\nstop() {\n  this._loadingSvc.setValue(false);\n}\n```\n\n## Development\n\n### Prepare your environment\n* Install [Node.js](http://nodejs.org/) and NPM (should come with)\n* Install local dev dependencies: `npm install` while current directory is this repo\n\n### Development server\nRun `npm start` to start a development server on port 8000 with auto reload + tests. \n\n### Testing\nRun `npm test` to run tests once or `npm run test:watch` to continually run tests.\n\n## License\n\nMIT\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxycoder%2Fng2-loading-animate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxycoder%2Fng2-loading-animate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxycoder%2Fng2-loading-animate/lists"}