appendMedium
(method
)
Owning interface and usage:
MediaList.
appendMedium(
newMedium)
Member of these other interfaces:
none
Description:
Adds the medium newMedium to the end of the list. If the newMedium is already used, it is first removed.
Parameters:
Returns:
nothing
Exceptions:
- DOMException INVALID_CHARACTER_ERR
-
If the medium contains characters that are invalid in the underlying style language.
- DOMException NO_MODIFICATION_ALLOWED_ERR
-
Raised if this list is readonly.