item
Summary
Gets the medium at the position number that is indicated by an index in the current list.
Method of css/cssom/CSSMediaList/CSSMediaListcss/cssom/CSSMediaList/CSSMediaList
Syntax
var result = mediaList.item(/* see parameter list */);
Parameters
index
- Data-type
- String
An index into the media list.
Return Value
Returns an object of type StringString
Related specifications
- DOM Level 2 Style
- Recommendation
See also
Related articles
CSSOM
item
Related pages
- CSSMediaListCSSMediaList
Reference
- appendMediumappendMedium
- deleteMediumdeleteMedium
- lengthlength
- mediaTextmediaText
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]