struct Protocol::CSS::MediaQueryExpression

Overview

Media query expression descriptor.

Included Modules

Defined in:

protocol/css.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def computed_length : Number::Primitive | Nil #

Computed length of media query expression (if applicable).


[View source]
def feature : String #

Media query expression feature.


[View source]
def unit : String #

Media query expression units.


[View source]
def value : Number::Primitive #

Media query expression value.


[View source]
def value_range : SourceRange | Nil #

The associated range of the value text in the enclosing stylesheet (if available).


[View source]