There was an error while loading. Please reload this page.
2 parents d57daae + e7e49b2 commit 0eb2c87Copy full SHA for 0eb2c87
1 file changed
2-ui/2-events/05-dispatch-events/article.md
@@ -15,14 +15,11 @@
15
let event = new Event(type[, options]);
16
```
17
18
-Arguments:
+پارامتر ها:
19
20
-- *type* -- event type, a string like `"click"` or our own like `"my-event"`.
21
-- *options* -- the object with two optional properties:
22
- - `bubbles: true/false` -- if `true`, then the event bubbles.
23
- - `cancelable: true/false` -- if `true`, then the "default action" may be prevented. Later we'll see what it means for custom events.
24
-
25
- By default both are false: `{bubbles: false, cancelable: false}`.
+- *نوع*: event type, یک رشته مانند `"click"` .
+- *گزینه ها*: شی ای با دو ویژگی اختیاری.
+- *لغو شدن (true/false)*: اگر ویزگی مقدار true را داشت عمل پیش فرض آن لغو میشود،
26
27
## dispatchEvent
28
0 commit comments