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/datatransfer/index.html | 58 ++++++++++++++++---------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'files/ru/web/api/datatransfer/index.html') diff --git a/files/ru/web/api/datatransfer/index.html b/files/ru/web/api/datatransfer/index.html index 65781c32f6..891a8202d5 100644 --- a/files/ru/web/api/datatransfer/index.html +++ b/files/ru/web/api/datatransfer/index.html @@ -11,7 +11,7 @@ translation_of: Web/API/DataTransfer

Объект может быть получен из свойства dataTransfer всех событий перетаскивания. Он не может быть отдельно создан.

-

Список свойств

+

Список свойств

@@ -54,7 +54,7 @@ translation_of: Web/API/DataTransfer
-

Список методов

+

Список методов

@@ -88,9 +88,9 @@ translation_of: Web/API/DataTransfer
-

Свойства

+

Свойства

-

dropEffect

+

dropEffect

Реальное действие, которое будет выполнено, и единственное возможное значение свойства effectAllowed.

@@ -111,7 +111,7 @@ translation_of: Web/API/DataTransfer

Присвоение каких-либо других значений не возымеет эффекта и оставит старое значение.

-

effectAllowed

+

effectAllowed

Определяет эффекты, которые разрешены для этого перетаскивания. Вы можете указать их в событии dragstart чтобы желаемый эффект сработал на перетаскиваемом элементе (что перетаскиваем),  или в событии  dragenter и dragenter чтобы желаемый эффект сработал для цели перетаскивания (куда перетаскиваем). В других событиях значение не используется.

@@ -131,7 +131,7 @@ translation_of: Web/API/DataTransfer

Assigning any other value has no effect and retains the old value.

-

files

+

files

{{ gecko_minversion_header("1.9.2") }}

@@ -143,7 +143,7 @@ translation_of: Web/API/DataTransfer

http://jsfiddle.net/9C2EF/

-

types

+

types

Содержит список типов форматов данных в порядке добавления данных. Если ничего не было добавлено, то будет вернут пустой список.

@@ -164,7 +164,7 @@ translation_of: Web/API/DataTransfer
Note: If you specify any value other than "default", "auto" is assumed.
-

mozItemCount

+

mozItemCount

The number of items being dragged.

@@ -178,15 +178,15 @@ translation_of: Web/API/DataTransfer
Note: This property is Gecko-specific.
-

mozUserCancelled

+

mozUserCancelled

This property applies only to the dragend event, and is true if the user canceled the drag operation by pressing escape. It will be false in all other cases, including if the drag failed for any other reason, for instance due to a drop over an invalid location. This property is not currently implemented on Linux.

Note: This property is Gecko-specific.
-

Методы

+

Методы

-

addElement()

+

addElement()

Данный метод устанавливает источник перетаскивания. Обычно вы его не изменяете, но он влияет на то,  на каком узле запускаются события drag и dragend. По умолчанию целью является узел который перетаскивали.

@@ -195,14 +195,14 @@ translation_of: Web/API/DataTransfer ); -
Параметры
+
Параметры
element
Элемент для добавления.
-

clearData()

+

clearData()

Удаление данных, связанные с указанным типом. Аргумент type является необязательным. Если type пуст или не указан, тогда данные, связанные со всеми типами удаляются. Если данные для указанного типа не существуют или передача данных не содержит данных, тогда этот метод не будет делать ничего.

@@ -211,14 +211,14 @@ translation_of: Web/API/DataTransfer ); -
Параметры
+
Параметры
type
Тип данных для удаления.
-

getData()

+

getData()

Возвращает данные для указанного типа или пустую строку, если данные для указанного типа не существуют или передаваемая сущность не содержит данных.

@@ -229,7 +229,7 @@ translation_of: Web/API/DataTransfer ); -
Параметры
+
Параметры

Тип данных который будет возвращён.

@@ -237,7 +237,7 @@ translation_of: Web/API/DataTransfer
type
-

setData()

+

setData()

Установка данных для указываемого типа. Если данные для type не существуют, тогда они добавляются в конце, так что последним элементом в списке типов будет новый формат. Если данные для type уже существуют, существующие данные заменяются в том же положении. То есть порядок списка типов не изменяется при замене данных одного и того же типа.

@@ -247,7 +247,7 @@ translation_of: Web/API/DataTransfer ); -
Параметры
+
Параметры
type
@@ -256,7 +256,7 @@ translation_of: Web/API/DataTransfer
Данные для добавления.
-

setDragImage()

+

setDragImage()

Устанавливает изображение, которое будет использоваться для перетаскивания если нужно. В большинстве случаев это не будет установлено, так как изображение по умолчанию создаётся из перетаскиваемого узла.

@@ -271,7 +271,7 @@ translation_of: Web/API/DataTransfer ); -
Параметры
+
Параметры
image
@@ -282,7 +282,7 @@ translation_of: Web/API/DataTransfer
Вертикальное смещение внутри изображения.
-

mozClearDataAt()

+

mozClearDataAt()

Removes the data associated with the given format for an item at the specified index. The index is in the range from zero to the number of items minus one.

@@ -298,7 +298,7 @@ translation_of: Web/API/DataTransfer ); -
Parameters
+
Parameters
type
@@ -307,7 +307,7 @@ translation_of: Web/API/DataTransfer
The index of the data to remove.
-

mozGetDataAt()

+

mozGetDataAt()

Retrieves the data associated with the given format for an item at the specified index, or null if it does not exist. The index should be in the range from zero to the number of items minus one.

@@ -319,7 +319,7 @@ translation_of: Web/API/DataTransfer ); -
Parameters
+
Parameters
type
@@ -328,7 +328,7 @@ translation_of: Web/API/DataTransfer
The index of the data to retrieve.
-

mozSetDataAt()

+

mozSetDataAt()

A data transfer may store multiple items, each at a given zero-based index. mozSetDataAt() may only be called with an index argument less than mozItemCount in which case an existing item is modified, or equal to mozItemCount in which case a new item is added, and the mozItemCount is incremented by one.

@@ -345,7 +345,7 @@ translation_of: Web/API/DataTransfer ); -
Parameters
+
Parameters
type
@@ -356,7 +356,7 @@ translation_of: Web/API/DataTransfer
The index of the data to add.
-

mozTypesAt()

+

mozTypesAt()

Holds a list of the format types of the data that is stored for an item at the specified index. If the index is not in the range from 0 to the number of items minus one, an empty string list is returned.

@@ -367,14 +367,14 @@ translation_of: Web/API/DataTransfer ); -
Parameters
+
Parameters
index
The index of the data for which to retrieve the types.
-

See also

+

See also

Drag and Drop

-- cgit v1.2.3-54-g00ecf