Jump To:

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

Button-group

Groups a set of buttons

Variables

$config

Variable Type: Map

Module Settings

$config: (
  "gap": 0.45em,
  "no-min-width" : true
);
File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: variable
  • Lines (comments): 14-17
  • Lines (code): 19-22

Map Properties

Name Type Default Description
gap Dimension 0.45em Gap between buttons
no-min-width Boolean true Buttons within the button group should have no min width

Mixins

set()

Mixin

Change modules $config

File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: mixin
  • Lines (comments): 24-27
  • Lines (code): 29-31

Examples

@include ulu.component-button-group-set(( "property" : value ));

Parameters

Name Type Description
$changes Map Map of changes

Require

styles()

Mixin

Prints component styles

File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: mixin
  • Lines (comments): 42-45
  • Lines (code): 47-90

Demo

View

Examples

@include ulu.component-button-group-styles();

Require

Functions

get()

Function

Get a config option

File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: function
  • Lines (comments): 33-36
  • Lines (code): 38-40

Examples

@include ulu.component-button-group-get("property");

Parameters

Name Type Description
$name Map Name of property

Require