The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CSS::SAC::Selector::Conditional - SAC ConditionalSelector

SYNOPSIS

 see CSS::SAC::Selector

DESCRIPTION

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'):

METHODS

  • 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

AUTHOR

Robin Berjon <robin@knowscape.com>

This module is licensed under the same terms as Perl itself.