ng-lazyload-image
πΌ A small library for lazy loading images for Angular apps with zero dependencies
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- nodejs.yml
- async-images.component.ts
- bg-image.component.ts
- big-images.component.ts
- changing-image.component.ts
- custom-observer.ts
- default-image.component.ts
- fade-in-image.component.ts
- offset.component.ts
- on-state-change.component.ts
- pixelated-image.component.ts
- responsive-image.component.ts
- scroll-container.component.ts
- app.component.ts
- app.module.ts
- favicon.ico
- index.html
- main.ts
- polyfills.ts
- styles.css
- .editorconfig
- .gitignore
- angular.json
- browserslist
- package-lock.json
- package.json
- README.md
- tsconfig.app.json
- tsconfig.json
- tslint.json
- preset.test.ts
- hooks.ts
- hooks.test.ts
- rect.test.ts
- scroll-listener.test.ts
- hooks.ts
- rect.ts
- hooks.test.ts
- hooks.ts
- css.util.test.ts
- css.util.ts
- util.ts
- lazyload-image.directive.ts
- lazyload-image.module.ts
- lazyload-image.ts
- token.ts
- types.ts
- .editorconfig
- .gitignore
- .npmignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- index.ts
- LICENSE
- netlify.toml
- package-lock.json
- package.json
- README.md
- setup-jest.ts
- tsconfig.json
- tsconfig.spec.json
# μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/tjoskar/ng-lazyload-image
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd ng-lazyload-image
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Node.js
μ¬μ μΆμ²μ¬μ μ€λΉλ¬Ό
$ npm install ng-lazyload-image
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
$ yarn add ng-lazyload-image
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
λͺ
λ Ήμ΄ μ€ν ν ν°λ―Έλμ λνλλ μ£Όμ(λ³΄ν΅ http://localhost:3000 νν)λ₯Ό λΈλΌμ°μ μμ μ΄μ΄λ³΄μΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
// repository documentation
Was this content helpful?
(0 ratings)
