GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CSS::DOM::MEDIALIST (3)

.ds Aq ’

NAME

CSS::DOM::MediaList - Medium list class for CSS::DOM

CONTENTS

VERSION

Version 0.16

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CSS::DOM::MEDIALIST (3) 2015-11-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.