EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

item method

Gets a property that has been explicitly set in the current declaration block.

Document Object Model (DOM) Level 2 Style Specification, Section 1.2Internet Explorer 9

 

Syntax

object.item(index)

Parameters

index [in]

Type: Integer

The index of the property name to retrieve.

Return value

Type: String

The name of the property at the specified ordinal position, or null if no property exists at that position.

Standards information

Remarks

The item method can be used to iterate over all properties in this declaration block.

See also

CSSStyleDeclaration
currentStyle
style
Reference
getPropertyPriority
getPropertyValue
length
removeProperty
setProperty

 

 

Показ:
© 2014 Microsoft