- Dear user,
- The copying is forbidden for you.
- If you know JS or HTML, then you can get everything from the page source though.
+عزيزي المستخدم،
+ النسخ ممنوع لك.
+ إذا كنت تعرف JS أو HTML ، فيمكنك الحصول على كل شيء من مصدر الصفحة.
```
-If you try to copy a piece of text in the ``, that won't work, because the default action `oncopy` is prevented.
+إذا حاولت نسخ جزء من النص في `
`, فلن ينجح ذلك, لأن الإجراء الافتراضي `oncopy` ممنوع.
-Surely the user has access to HTML-source of the page, and can take the content from there, but not everyone knows how to do it.
+من المؤكد أن المستخدم لديه حق الوصول إلى مصدر HTML-للصفحة, ويمكنه أخذ المحتوى من هناك, ولكن لا يعرف الجميع كيفية القيام بذلك.
````
-## Summary
+## ملخص
-Mouse events have the following properties:
+تتميز أحداث الماوس بالخصائص التالية:
-- Button: `button`.
-- Modifier keys (`true` if pressed): `altKey`, `ctrlKey`, `shiftKey` and `metaKey` (Mac).
- - If you want to handle `key:Ctrl`, then don't forget Mac users, they usually use `key:Cmd`, so it's better to check `if (e.metaKey || e.ctrlKey)`.
+- زر: `button`.
+- مفاتيح التعديل (`true` إذا تم الضغط عليه): `altKey`, `ctrlKey`, `shiftKey` و `metaKey` (Mac).
+- إذا كنت تريد التعامل معها `key:Ctrl`, لذا لا تنسى Mac مستخدمي , عادة ما يستخدم `key:Cmd`, لذلك من الأفضل التحقق `if (e.metaKey || e.ctrlKey)`.
-- Window-relative coordinates: `clientX/clientY`.
-- Document-relative coordinates: `pageX/pageY`.
+- إحداثيات النافذة: `clientX/clientY`.
+- إحداثيات المستند: `pageX/pageY`.
-The default browser action of `mousedown` is text selection, if it's not good for the interface, then it should be prevented.
+الإجراء الافتراضي للحدث `mousedown` هو تحديد النص, إذا كان من المرجح أن يتدخل في الواجهة يمكنك إلغاؤه.
-In the next chapter we'll see more details about events that follow pointer movement and how to track element changes under it.
+في الفصل التالي ، سنرى المزيد من التفاصيل حول الأحداث التي تتبع حركة المؤشر وكيفية تتبع تغييرات العناصر تحت المؤشر
\ No newline at end of file
diff --git a/2-ui/3-event-details/index.md b/2-ui/3-event-details/index.md
index 569f08137..4a68a0c86 100644
--- a/2-ui/3-event-details/index.md
+++ b/2-ui/3-event-details/index.md
@@ -1,3 +1,3 @@
-# UI Events
+# أحداث الواجهة
-Here we cover most important user interface events and how to work with them.
+هنا سوف ندرس الأحداث الرئيسية لواجهة المستخدم وكيفية العمل معها.