Skip to content

Commit 0eb2c87

Browse files
authored
Merge pull request #2 from HannaParsa/HannaParsa-patch-2-1
Update article.md
2 parents d57daae + e7e49b2 commit 0eb2c87

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

2-ui/2-events/05-dispatch-events/article.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@
1515
let event = new Event(type[, options]);
1616
```
1717

18-
Arguments:
18+
پارامتر ها:
1919

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}`.
20+
- *نوع*: event type, یک رشته مانند `"click"` .
21+
- *گزینه ها*: شی ای با دو ویژگی اختیاری.
22+
- *لغو شدن (true/false)*: اگر ویزگی مقدار true را داشت عمل پیش فرض آن لغو میشود،
2623

2724
## dispatchEvent
2825

0 commit comments

Comments
 (0)