일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- flex-1
- Oracle LISTAGG 사용 예시
- Router
- route
- prisma
- formgroup
- 호버
- angular route
- egov spring ajax 사용 예시
- 아이오닉 스크롤 이벤트
- scroll
- angular button
- TAILWIND
- Ionic modal
- 스크롤 이벤트
- ApexChart
- 옵저버블
- modal
- 셀렉트박스 커스텀
- 모달
- ajax 사용 예시
- summary
- 스크롤 이벤트 감지
- 검색
- mysql if
- Angular Router
- 앵귤러 애니메이션
- angular animation
- 앵귤러 모달
- angular modal
- 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'; ..