Skip to content

Events: change, input, cut, copy, paste #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2021
Merged
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
14 changes: 7 additions & 7 deletions 2-ui/4-forms-controls/3-events-change-input/article.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Events: change, input, cut, copy, paste
# Olaylar: change, input, cut, copy, paste

Let's discuss various events that accompany data updates.
Hadi veri güncellemelerine eşlik eden çeşitli olayları tartışalım.

## Event: change
## Olay: change

The [change](http://www.w3.org/TR/html5/forms.html#event-input-change) event triggers when the element has finished changing.
[change olayı](http://www.w3.org/TR/html5/forms.html#event-input-change) öğe değişmeyi bitirdiğinde tetiklenir.

For text inputs that means that the event occurs when it loses focus.
Bu olay metin girişleri için odak kaybedildiği zaman meydana gelir.

For instance, while we are typing in the text field below -- there's no event. But when we move the focus somewhere else, for instance, click on a button -- there will be a `change` event:
Örneğin, aşağıdaki metin alanına birşey yazarken olay yok. Ama odağı başka bir yere taşıdığımızda, örneğin, butona tıkladığımızda bir `change` olayı olacak:

```html autorun height=40 run
<input type="text" onchange="alert(this.value)">
<input type="button" value="Button">
```

For other elements: `select`, `input type=checkbox/radio` it triggers right after the selection changes.
`select`, `input type=checkbox/radio` elementlerde ise olay, elementteki değişiklikten hemen sonra tetiklenir.

## Event: input

Expand Down