Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Inline handlers
title: 인라인 핸들러
---

You can also declare event handlers inline:
이벤트 핸들러를 인라인으로 선언할 수도 있습니다.

```svelte
/// file: App.svelte
Expand All @@ -24,4 +24,4 @@ You can also declare event handlers inline:
</div>
```

> In some frameworks you may see recommendations to avoid inline event handlers for performance reasons, particularly inside loops. That advice doesn't apply to Svelte — the compiler will always do the right thing, whichever form you choose.
> 일부 프레임워크에서는 성능상의 이유로, 특히 루프 내에서 인라인 이벤트 핸들러를 피하라는 권고를 볼 수 있습니다. 그 조언은 스벨트에는 적용되지 않습니다. 컴파일러는 선택한 방식에 관계없이 항상 올바른 작업을 수행합니다.