From 1386fed7d38652d5848d315927e7e23a66cffd13 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 20 Oct 2021 13:28:52 +0300 Subject: [RU] Remove `name` attribute from headings (#2788) --- files/ru/web/api/event/initevent/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/ru/web/api/event/initevent') diff --git a/files/ru/web/api/event/initevent/index.html b/files/ru/web/api/event/initevent/index.html index a3c18c08a3..77e38169dc 100644 --- a/files/ru/web/api/event/initevent/index.html +++ b/files/ru/web/api/event/initevent/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/Event/initEvent

Вместо него используйте такой специальный конструктор событий, как {{domxref("Event.Event", "Event()")}}. Страница Creating and triggering events даст больше информации о возможностях использования.

-

Синтаксис

+

Синтаксис

event.initEvent(type, bubbles, cancelable);
@@ -28,7 +28,7 @@ translation_of: Web/API/Event/initEvent
Is a {{jsxref("Boolean")}} defining whether the event can be canceled. Once set, the read-only property {{ domxref("Event.cancelable") }} will give its value.
-

Пример

+

Пример

// Create the event.
 var event = document.createEvent('Event');
@@ -67,7 +67,7 @@ elem.dispatchEvent(event);
  
 
 
-

Browser compatibility

+

Browser compatibility

{{Compat("api.Event.initEvent")}}

-- cgit v1.2.3-54-g00ecf