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 |
Tags
- 우테코
- AX210
- react
- custom element
- webpack
- GitHub Pages
- live share
- fastify
- swiper
- docker-compose
- 터치 스와이프
- 우아한테크코스
- typescript
- javascript
- github Actions
- web component
- 데모데이
- Prometheus
- Shadow DOM
- HTML
- Docker
- 유한 상태 머신
- 우아한테크코스 레벨3
- Grafana
- RTL8852BE
- CSS
- 무선랜카드 교체
- scroll-snap
- react-dom
- browserslist
Archives
- Today
- Total
목록form associated (1)
IT일상

리뉴얼 된 블로그로 보기: https://solo5star.dev/posts/29/ 🏆 로또를 구매하세요~ 구매하기 로또를 구매하는 폼을 만들고자 합니다. 엘리먼트는 1) 1~45의 숫자 6개를 받아야 하며 2) 서로 중복되지 않는 번호인지 검증해야 합니다. customElements.define('my-lotto-input', class MyLottoInput extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` `; } }); 커스텀 폼 컨트롤은 위와 같이 만들 수 있습니다. 하지만 이렇게 만들더라도 form은 이 input이 올바른지, 어떠한 값을 가..
프론트엔드
2023. 3. 7. 00:05