CSS::SAC::Selector::Conditional - SAC ConditionalSelector
see CSS::SAC::Selector
This is a subclass of CSS::SAC::Selector::Simple, look there for more documentation. This class adds the following methods (which also exist in spec style, simply prepend them with 'get'):
CSS::SAC::Selector::Conditional->new($type,$selector,$condition) =item * $sel->new($type,$selector,$condition)
Creates a new conditional selector.
$csel->Condition([$cond])
get/set the selector's condition
$csel->SimpleSelector([$cond])
get/set the selector's simple selector
Robin Berjon <robin@knowscape.com>
This module is licensed under the same terms as Perl itself.
To install CSS::SAC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS::SAC
CPAN shell
perl -MCPAN -e shell install CSS::SAC
For more information on module installation, please visit the detailed CPAN module installation guide.