답변 3개
채택된 답변
+20 포인트
2년 전
어떤 문자열이나 어떤 json 이라 해도 패턴만 추출할 수 있으면 txt 문서 하나에 정보를 다 담아서 모든 형태의 비동기가 가능합니다.
개인적으로는 단순 js 파일을 추천합니다.
동기 비동기를 따질 필요도 없습니다.^^
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
Actonsoft
2년 전
Angular 가 좋으실듯 합니다.
나라 선택
Copy
import { Component } from '@angular/core';
@Component({
selector: 'app-country-selection',
template: ''
})
export class CountrySelectionComponent {
onCountryChange(country: string) {
}
}
도시 선택
Copy
import { Component } from '@angular/core';
@Component({
selector: 'app-city-selection',
template: ''
})
export class CitySelectionComponent {
onCityChange(city: string) {
}
}
호텔 선택
Copy
import { Component } from '@angular/core';
@Component({
selector: 'app-hotel-selection',
template: ''
})
export class HotelSelectionComponent {
onHotelChange(hotel: string) {
}
}
가격 선택
Copy
import { Component } from '@angular/core';
@Component({
selector: 'app-price-selection',
template: ''
})
export class PriceSelectionComponent {
onPriceChange(price: number) {
}
}
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
2년 전
Angular와 HTMX 모두 비동기 요청을 간단하게 처리할 수 있게 해줍니다.
HTML 요소에 hx-get, hx-trigger, hx-target, hx-swap, hx-vals 등의 HTMX 속성을 추가하여 이벤트를 정의하고 HTMX가 어떻게 동작해야 하는지 설정합니다.
참고하시면되겠습니다.
[Django] #15 - Django 게시판 만들기(검색기능 구현)- 6 — 나무늘보의 개발 블로그 (sloth-lifes.com)
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인