1import { Controller } from '@hotwired/stimulus'; 2 3/** 4 * @domain ì¸ë¶ ì°ë 5 * @concern 주ì ê²ì·ì°í¸ë²í¸ ìëì ë ¥ 6 * @description ë¤ì ì°í¸ë²í¸ ê²ì íì ìì ì íí 주ìì ì°í¸ë²í¸ë¥¼ ì§ì ë ì ë ¥ íëì ì±ì°ë 컨í¸ë¡¤ë¬ 7 */ 8export default class extends Controller { 9 static targets = ['placeInput', 'postcodeInput']; 10 11 handlePlaceSearch() { 12 new daum.Postcode({ 13 oncomplete: this.handleOnCompleteDaumPostcode.bind(this), 14 autoClose: true, 15 }).open(); 16 } 17 18 handleOnCompleteDaumPostcode(data) { 19 this.placeInputTarget.value = data.address; 20 if (this.hasPostcodeInputTarget) { 21 this.postcodeInputTarget.value = data.zonecode; 22 } 23 } 24}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.