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
- egov spring ajax 사용 예시
- mysql if
- summary
- angular modal
- 모달
- Ionic modal
- 검색
- angular route
- angular button
- angular animation
- flex-1
- TAILWIND
- route
- ajax 사용 예시
- Angular Router
- 앵귤러 모달
- Oracle LISTAGG 사용 예시
- 셀렉트박스 커스텀
- Router
- ApexChart
- 스크롤 이벤트
- formgroup
- modal
- prisma
- 스크롤 이벤트 감지
- 앵귤러 애니메이션
- scroll
- 아이오닉 스크롤 이벤트
- 호버
- 옵저버블
Archives
- Today
- Total
목록사이드 더 안 내려오게 멈추기 (1)
깜놀하는 해므찌로
scrollbar sidemenu stop 사이드 메뉴 멈추게 하기 예시 / scroll side
1. 부모요소의 크기에 맞게만 사이드를 내려오도록 설정하기 2. ngClass 를 활용하여 fixed, absolute 로 조절 @ViewChild('headerDiv', { read: ElementRef }) headerDiv: ElementRef; reportMenuPosition = 0; onScroll() { this.scrollTop = this.section.nativeElement.scrollTop; this.reportMenuPosition = this.scrollTop + this.reportDiv.nativeElement.clientHeight; } 3. bottom 을 기준으로 멈춰야 하므로 스크롤 탑 + div 요소를 더해서 bottom 을 구하기 4. 전역 변수에 할당 후 해당 변..
IT
2023. 9. 4. 12:58