Skip to content
nene edited this page Jun 5, 2012 · 7 revisions

Documents an SCSS mixin.

There currently is no @scss-mixin tag, it's all about auto-detection.

Example:

/**
 * Creates an awesome button.
 *
 * @param {string} $ui-label The name of the UI being created.
 * @param {color} [$color=red] Base color for the UI.
 */
@mixin my-button($ui-label, $color: red) {
}

Parameters are documented just like in methods with @param tag. Currently there is no auto-detection of parameters - all of them have to be specified manually - sorry for that.

Clone this wiki locally