diff --git a/2-ui/2-events/02-bubbling-and-capturing/article.md b/2-ui/2-events/02-bubbling-and-capturing/article.md index e203a4eb4..f4e8aa497 100644 --- a/2-ui/2-events/02-bubbling-and-capturing/article.md +++ b/2-ui/2-events/02-bubbling-and-capturing/article.md @@ -1,8 +1,8 @@ -# Bubbling and capturing +# Bubbling এবং capturing -Let's start with an example. +একটি উদাহরণ দিয়ে শুরু করা যাক। -This handler is assigned to `
`:
+`` এর মধ্যে একটি হ্যান্ডেলার অ্যাসাইন করলাম, কিন্তু যদি `` বা `` এ ক্লিক করা হয় তাহলেও এটি রান করবে:
```html autorun height=60
@@ -10,15 +10,15 @@ This handler is assigned to ``, but also runs if you click any nested tag l
```
-Isn't it a bit strange? Why does the handler on `` run if the actual click was on ``?
+এটি কিছুটা অদ্ভুত না? কেন `` ক্লিকে `` এর হ্যান্ডেলারটি রান হয়?
## Bubbling
-The bubbling principle is simple.
+এর প্রধান কারণ *bubbling*।
-**When an event happens on an element, it first runs the handlers on it, then on its parent, then all the way up on other ancestors.**
+**যখন কোন এলিমেন্টে ইভেন্ট সংগঠিত হয়, প্রথমে এলিমেন্টটির হ্যান্ডেলার রান হবে, তারপর তার প্যারেন্টটি রান হবে, এভাবে তার উপরের এলিমেন্টটি রান হবে**
-Let's say we have 3 nested elements `FORM > DIV > P` with a handler on each of them:
+দেখা যাক আমাদের ৩ টি নেস্টেড এলিমেন্ট `FORM > DIV > P` আছে এবং তাদের প্রতিটিতে একটি হ্যান্ডেলার আছে:
```html run autorun