Skip to content

Files

Latest commit

fa695b2 · May 2, 2013

History

History
89 lines (72 loc) · 1.62 KB

Rule.md

File metadata and controls

89 lines (72 loc) · 1.62 KB

Rule

The Rule object represents a CSS selector and container for a set of declarations.

$rule = $this->Css->Rule();

Object

The class inheritance for the object.

Extends

Implements

Parameters

The configuration parameters for the template.

Name Type Default Description
selector string * Defines the CSS query selector for the contained declarations.

Properties

The properties affecting object behavior.

Property Value Description
Allow parent true Determines if the object can have a parent.
Allow children true Determines if the object can have children.
Allow events false Determines if events can be added to the object.
Limit parent Defines the allowed parents for the object, or any if none specified.
Limit children CssDeclaration Defines the allowed children for the object, or any if none specified.

Methods

None.