일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ApexChart
- formgroup
- 앵귤러 모달
- route
- prisma
- Oracle LISTAGG 사용 예시
- 스크롤 이벤트
- Ionic modal
- angular route
- angular modal
- mysql if
- 앵귤러 애니메이션
- ajax 사용 예시
- modal
- 호버
- scroll
- egov spring ajax 사용 예시
- summary
- 검색
- 옵저버블
- angular animation
- 셀렉트박스 커스텀
- 아이오닉 스크롤 이벤트
- 모달
- Router
- Angular Router
- flex-1
- 스크롤 이벤트 감지
- angular button
- TAILWIND
- Today
- Total
목록분류 전체보기 (599)
깜놀하는 해므찌로
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. 전역 변수에 할당 후 해당 변..
...
import { Injectable, computed, signal } from '@angular/core'; import { BehaviorSubject, Observable, Subject, fromEvent } from 'rxjs'; export enum Platform { MOBILE, TABLET, DESKTOP, } @Injectable({ providedIn: 'root', }) export class PlatformService { private resizeEvent$: Observable; // 초기값 : DESKTOP 설정 public platform$ = new BehaviorSubject(Platform.DESKTOP); private width = signal(window.inne..
import { ElementRef, Injectable, QueryList } from '@angular/core'; import { Subject } from 'rxjs'; @Injectable({ providedIn: 'root', }) export class ScrollService { subject$ = new Subject(); // 스크롤 이벤트를 전달하기 위한 Subject 객체 select(index: number) { this.subject$.next(index); // 주어진 인덱스를 Subject에 전달하여 구독자들에게 알림 } scrollTo(found: ElementRef) { if (found) { const layout = document.querySelector('#layo..
import { Injectable, Logger, OnModuleInit } from '@nestjs/common'; import mysql from 'mysql'; @Injectable() export class WareHouseService implements OnModuleInit { private logger = new Logger(WareHouseService.name); private connection: mysql.Connection; constructor() { this.connection = mysql.createConnection({ host: process.env['WAREHOUSE_DATABASE_URL'], port: parseInt(process.env['WAREHOUSE_DA..
router.events.pipe(filter((ev) => ev instanceof NavigationEnd)).subscribe({ next: () => { this.layout = route.snapshot.data['layout']; this.path = router.url; if ( router.url === '/page' || router.url === '/fq' || router.url === '/inqu' ) { this.items = [ { name: '내 정보', path: '/page' }, { name: '1:1 문의', path: '/inqu' }, { name: 'FAQ', path: '/fq' }, ]; } else { this.items = undefined; } if (th..