Query: css::dom::rule::import
OS: debian
Section: 3pm
Links: debian man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CSS::DOM::Rule::Import(3pm) User Contributed Perl Documentation CSS::DOM::Rule::Import(3pm)NAMECSS::DOM::Rule::Import - CSS @import rule class for CSS::DOMVERSIONVersion 0.14SYNOPSISuse 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 objectDESCRIPTIONThis module implements CSS @import rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSImportRule DOM interface.METHODShref 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 ALSOCSS::DOM CSS::DOM::Rule CSS::DOM::MediaList perl v5.10.1 2010-12-10 CSS::DOM::Rule::Import(3pm)
Related Man Pages |
---|
css::adaptor(3pm) - debian |
css::dom::value(3pm) - debian |
css::dom::value::primitive(3pm) - debian |
css::style(3pm) - debian |
mojo::dom::html(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
How can I do this in VI editor? |
One instance of comparing grep and awk |
Find columns in a file based on header and print to new file |
Weird 'find' results |
New UNIX and Linux History Sections |