Genel Yapı

Pasted image 20241104101410.png
Pasted image 20241104101438.png

boatSearch.html

Pasted image 20241104103540.png

onsearch methodu

boatSearch.html

onchange olduğunda burası search CustomEven'i fırlatıyor

Pasted image 20241104103540.png

onsearch methodu
Pasted image 20241104102844.png

this.selectedBoatId 'yi kim setliyor? yine kendisi set liyor. onchange event'inden gelen objelerle()

Pasted image 20241104110606.png

Pasted image 20241104102650.png

Pasted image 20241104102912.png
Pasted image 20241104102936.png
Pasted image 20241104110931.png

boatSearchForm.html

burada aslında event senin yakaladığın 'chnage' event'i oluyor.
For a lightning-combobox, detail.value holds the selected option's value. This is provided by Salesforce and is a standard part of the event structure for this component.

So, when you set this.selectedBoatTypeId = event.detail.value, you're assigning the selected dropdown value to selectedBoatTypeId, updating the component's state with the new selection.

Pasted image 20241104113743.png

Pasted image 20241104113853.png

Pasted image 20241104114753.png

Functional parts

Pasted image 20241104114741.png

boatSearchResults.html

Pasted image 20241104114620.png

boatTile.js

Pasted image 20241104114910.png

boatTile.html

Pasted image 20241104102650.png

Pasted image 20241104102912.png
Pasted image 20241104102936.png
Pasted image 20241104110931.png

boatSearchForm.html

Pasted image 20241104123900.png

boatSearch.js

boatSearchForm.html

boatSearchResults.html

Pasted image 20241104124700.png

boatSearchResults.js