BreakpointsJson
class BreakpointsJson extends BaseQualifier
Class BreakpointsJson
An alias for w_auto:breakpoints:json qualifier
Methods
__construct(int $minWidth = null, int $maxWidth = null, int $bytesStep = null, int $maxImages = null)
BreakpointsJson qualifier constructor.
minWidth(int $minWidth)
Sets the minimum width.
maxWidth(int $maxWidth)
Sets the maximum width.
bytesStep(int $bytesStep)
Sets the size step (in bytes).
maxImages(int $maxImages)
Sets the maximum amount of breakpoints.
__toString()
Serializes to string.
jsonSerialize()
Serializes to json.
Details
__construct(int $minWidth = null, int $maxWidth = null, int $bytesStep = null, int $maxImages = null)
BreakpointsJson qualifier constructor.
BreakpointsJson
minWidth(int $minWidth)
Sets the minimum width.
BreakpointsJson
maxWidth(int $maxWidth)
Sets the maximum width.
BreakpointsJson
bytesStep(int $bytesStep)
Sets the size step (in bytes).
BreakpointsJson
maxImages(int $maxImages)
Sets the maximum amount of breakpoints.
string
__toString()
Serializes to string.
mixed
jsonSerialize()
Serializes to json.
Constants
DEFAULT_BYTES_STEP |
|