본문 바로가기

깜놀하는 해므찌로

검색하기
깜놀하는 해므찌로
프로필사진 agnusdei1207

  • 분류 전체보기 (599)
    • IT (598)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • 아이오닉 스크롤 이벤트
  • Angular Router
  • modal
  • 검색
  • angular button
  • flex-1
  • summary
  • ajax 사용 예시
  • 호버
  • route
  • angular animation
  • 셀렉트박스 커스텀
  • 스크롤 이벤트 감지
  • angular route
  • 스크롤 이벤트
  • ApexChart
  • angular modal
  • Ionic modal
  • formgroup
  • TAILWIND
  • egov spring ajax 사용 예시
  • 앵귤러 모달
  • Router
  • mysql if
  • 앵귤러 애니메이션
  • 옵저버블
  • scroll
  • Oracle LISTAGG 사용 예시
  • prisma
  • 모달
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록angular routerActiveLonk (1)

깜놀하는 해므찌로

Angular routerLinkActive menu handle / 앵귤러 라우터 메뉴 핸들 예시

{{ i.title }} 1. 상단 routerLinkActive :현재 라우트 링크와 일치할 경우 명시한 내용을 class name 으로 설정 2. 일반적으로 router.url === menu.path 라는 조건을 활용해서 현재 메뉴와 라우터 url을 비교하기 마련인데, 이 방식을 쓰면 코드도 줄고 더욱 직관적이라 좋습니다.

IT 2023. 8. 20. 18:59
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바