CSS::DOM::Rule::Import man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

CSS::DOM::Rule::ImportUser Contributed Perl DocumentaCSS::DOM::Rule::Import(3)

NAME
       CSS::DOM::Rule::Import - CSS @import rule class for CSS::DOM

VERSION
       Version 0.14

SYNOPSIS
	 use CSS::DOM;
	 my $import_rule = CSS::DOM->parse(
	     '@import "print.css" print;',
	     url_fetcher => sub {
		 # ... code to get the url in $_[0] ...
	     }
	 )->cssRules->[0];

	 $import_rule->href;  # 'print.css'
	 $import_rule->media; # a CSS::DOM::MediaList (array ref)
	 $import_rule->styleSheet; # a CSS::DOM object

DESCRIPTION
       This module implements CSS @import rules for CSS::DOM. It inherits from
       CSS::DOM::Rule and implements the CSSImportRule DOM interface.

METHODS
       href
	   Returns the @import rule's URL.

       media
	   Returns the MediaList associated with the @import rule (or a plain
	   list in list context). This defaults to an empty list. You can pass
	   a comma-delimited string to the MediaList's "mediaText" method to
	   set it.

       styleSheet
	   This returns the style sheet object, if available. Otherwise it
	   returns an empty list (this occurs if "url_fetcher" is not provided
	   or if it returns undef).

SEE ALSO
       CSS::DOM

       CSS::DOM::Rule

       CSS::DOM::MediaList

perl v5.14.1			  2010-12-10	     CSS::DOM::Rule::Import(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net