- Source:
Methods
set-auto-breakpoint($breakpoint)
Sets the auto breakpoint to a named breakpoint value. Hint: in Sass we do not have to do this manually, if we want to use auto breakpoint values, since blocks are always evaluated after the block mixin around the block, which results in the block knowing the breakpoint value automatically from the mixin around it.
Parameters:
Name | Type | Description |
---|---|---|
$breakpoint |
String | a named breakpoint defined in the jig config |
- Source:
- See:
Throws:
error if breakpoint is unknown
Example
@include set-auto-breakpoint(medium);
@include breakpoint(medium){
...
}