일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- angular route
- angular modal
- 호버
- Router
- 스크롤 이벤트
- mysql if
- 앵귤러 모달
- TAILWIND
- route
- modal
- angular button
- Angular Router
- 옵저버블
- 셀렉트박스 커스텀
- 검색
- ApexChart
- summary
- flex-1
- 앵귤러 애니메이션
- formgroup
- Ionic modal
- scroll
- 아이오닉 스크롤 이벤트
- prisma
- angular animation
- ajax 사용 예시
- egov spring ajax 사용 예시
- 스크롤 이벤트 감지
- Oracle LISTAGG 사용 예시
- 모달
- Today
- Total
목록angular swiper example (2)
깜놀하는 해므찌로
0. #swiperContainer 선언 1. init="false" 설정 필수! 이 설정을 하지 않으면 임의로 CSS를 그려버려서 CSS 설정 및 값 오버라이딩 등 먹통됩니다. @ViewChild('swiperContainer') swiperEl!: ElementRef; ngAfterViewInit(): void { this.setSwiper(); } setSwiper() { const options: SwiperOptions = { speed: 3000, autoplay: { delay: 5000, }, allowTouchMove: false, touchRatio: 0, loop: true, slidesPerView: document.documentElement.clientWidth >= 1440 ?..
import { CommonModule } from '@angular/common'; import { AfterViewInit, CUSTOM_ELEMENTS_SCHEMA, Component, ElementRef, OnInit, ViewChild, Input, } from '@angular/core'; import Swiper, { SwiperOptions } from 'swiper'; import { IconComponent } from '../../../components/icon/icon.component'; import { ScrollAnimationDirective } from '../../../animations/scroll-animation/scroll-animation.directive'; ..