IResponsiveRule

Type interface

An interface describing resonsive rule.

Click here for more info

Inheritance

IResponsiveRule does not extend any other symbol.

IResponsiveRule is not extended by any other symbol.

Properties

applied
#

Type undefined | false | true

Indicates if rule is currently applied.

@readonly

applying
#

Type undefined | () => void

A custom callback function which is called when applying the rule.

name
#

Type undefined | string

A class name of the elements to apply rule to.

relevant
#

Type ( width: number, height: number) => boolean

A callback function which should check and return true if rule is applicable for current situation.

removing
#

Type undefined | () => void

A custom callback function which is called when removing the rule.

settings
#

Type any

Settings to apply when activating the responsive rule.

tags
#

Type string | string[]

A class group of the elements to apply rule to.

template
#

Type Template

Reference to Template object associated with the rule.

@readonly