Skip to content

Latest commit

 

History

History
89 lines (72 loc) · 1.6 KB

Media.md

File metadata and controls

89 lines (72 loc) · 1.6 KB

Media

The Media object represents a set of nested CSS blocks with a condition defined by a media query.

$media = $this->Css->Media();

Object

The class inheritance for the object.

Extends

Implements

Parameters

The configuration parameters for the template.

Name Type Default Description
type string all Defines the CSS media type to use.

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 CssRule Defines the allowed children for the object, or any if none specified.

Methods

None.