Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- Oracle LISTAGG 사용 예시
- TAILWIND
- flex-1
- 스크롤 이벤트
- angular route
- summary
- formgroup
- 스크롤 이벤트 감지
- 모달
- scroll
- ApexChart
- angular button
- modal
- 호버
- 옵저버블
- angular animation
- 아이오닉 스크롤 이벤트
- Angular Router
- angular modal
- Ionic modal
- prisma
- mysql if
- egov spring ajax 사용 예시
- Router
- 검색
- route
- 앵귤러 애니메이션
- 셀렉트박스 커스텀
- ajax 사용 예시
- 앵귤러 모달
Archives
- Today
- Total
목록ngFor speed controll (1)
깜놀하는 해므찌로
ngFor speed controll 반복문 속도 조절 Directive 예시
import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core'; @Directive({ selector: '[ngForDelay]' }) export class NgForDelayDirective { @Input('ngForDelay') set ngForDelay(value: any[]) { value.forEach((item: any, index: number) => { setTimeout(() => { this.viewContainer.createEmbeddedView(this.templateRef, { $implicit: item, index: index }); }, index * 1000); // 인덱스 * 1초 })..
IT
2023. 5. 27. 15:38