css::dom::medialist(3pm) debian man page | unix.com

Man Page: css::dom::medialist

Operating Environment: debian

Section: 3pm

CSS::DOM::MediaList(3pm)				User Contributed Perl Documentation				  CSS::DOM::MediaList(3pm)

NAME
CSS::DOM::MediaList - Medium list class for CSS::DOM
VERSION
Version 0.14
SYNOPSIS
use CSS::DOM; $media_list = new CSS::DOM ->media; use CSS::DOM::MediaList; $media_list = new MediaList 'screen', 'papyrus'; @media = @$media_list; # use as array $media_list->mediaText; # returns a string $media_list->mediaText('print, screen'); # change it $media_list->deleteMedium('print'); $media_list->appendMedium('tv');
DESCRIPTION
This module implements medium lists for CSS::DOM. It implements the CSSMediaList DOM interface and inherits from CSS::DOM::Array.
METHODS
DOM Attributes mediaText A comma-and-space-separated string of the individual media in the list, e.g., 'screen, print'. DOM Methods deleteMedium ( $name ) Deletes the named medium from the list, or throws an error if it cannot be found. appendMedium ( $name ) Adds a medium to the end of the list.
SEE ALSO
CSS::DOM CSS::DOM::Array perl v5.10.1 2010-12-10 CSS::DOM::MediaList(3pm)
Related Man Pages
css::dom::exception(3pm) - debian
css::dom::util(3pm) - debian
css::dom::value(3pm) - debian
mojo::dom::html(3pm) - debian
xml::dom::xpath(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Is UNIX an open source OS ?
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph