From 1d61e484908097bd561829ea962676859c1e18a8 Mon Sep 17 00:00:00 2001 From: Eric Brookfield Date: Thu, 25 Apr 2019 16:01:02 -0400 Subject: [PATCH] e.g. -> for example *E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand. Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected. --- site/content/tutorial/05-events/03-event-modifiers/text.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/tutorial/05-events/03-event-modifiers/text.md b/site/content/tutorial/05-events/03-event-modifiers/text.md index 05a2d8c5fb..73386dd096 100644 --- a/site/content/tutorial/05-events/03-event-modifiers/text.md +++ b/site/content/tutorial/05-events/03-event-modifiers/text.md @@ -18,10 +18,10 @@ DOM event handlers can have *modifiers* that alter their behaviour. For example, The full list of modifiers: -* `preventDefault` — calls `event.preventDefault()` before running the handler. Useful for e.g. client-side form handling +* `preventDefault` — calls `event.preventDefault()` before running the handler. Useful for client-side form handling, for example. * `stopPropagation` — calls `event.stopPropagation()`, preventing the event reaching the next element * `passive` — improves scrolling performance on touch/wheel events (Svelte will add it automatically where it's safe to do so) * `capture` — fires the handler during the *capture* phase instead of the *bubbling* phase ([MDN docs](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture)) * `once` — remove the handler after the first time it runs -You can chain modifiers together, e.g. `on:click|once|capture={...}`. \ No newline at end of file +You can chain modifiers together, e.g. `on:click|once|capture={...}`.