Jump To:

  1. Variables
    1. $config
  2. Mixins
    1. set()
    2. styles()
  3. Functions
    1. get()

Image-grid

Variables

$config

Variable Type: Map

Module Settings

$config: (
  "breakpoint": "small",
  "gap":        3px,
  "min-width":  math.div(100%, 3)
);
File Information
  • File: _image-grid.scss
  • Group: image-grid
  • Type: variable
  • Lines (comments): 13-17
  • Lines (code): 19-23

Map Properties

Name Type Default Description
breakpoint String "small" Sets the min breakpoint for the grid to print. This uses breakpoint.scss, so the value of this option should be a breakpoint variable from breakpoint.scss.
gap Dimension 3px The gap between images in the grid.
min-width Dimension math.div(100%, 3) The min-width of the images in the grid.

Mixins

set()

Mixin

Change modules $config

File Information
  • File: _image-grid.scss
  • Group: image-grid
  • Type: mixin
  • Lines (comments): 25-28
  • Lines (code): 30-32

Examples

@include ulu.component-image-grid-set(( "property" : value ));

Parameters

Name Type Description
$changes Map Map of changes

Require

styles()

Mixin

Prints component styles

File Information
  • File: _image-grid.scss
  • Group: image-grid
  • Type: mixin
  • Lines (comments): 43-45
  • Lines (code): 47-71

Examples

@include ulu.component-image-grid-styles();

Require

Functions

get()

Function

Get a config option

File Information
  • File: _image-grid.scss
  • Group: image-grid
  • Type: function
  • Lines (comments): 34-37
  • Lines (code): 39-41

Examples

@include ulu.component-image-grid-get("property");

Parameters

Name Type Description
$name Map Name of property

Require