Skip to content
Evgenii Koriakin edited this page Oct 14, 2015 · 8 revisions

API

Fields

The separator that is used for separating the name of the block from the name of the element.

The separator that is used for separating the name of the block or element from the name of the modifier.

The separator that is used for separating the name of the modifier from the value of the modifier.

Methods

Creates a CSS class of the block.

Creates a CSS class of the block's modifier.

Creates a CSS class of the element.

Creates a CSS class of the element's modifier.

Returns a list of matched blocks.

Returns a list of matched elements.

Methods (jQuery)

Adds the modifier(s) to each block or element of the current set of jQuery objects. This method retains chaining.

Returns the name of the first block of the current set of jQuery objects. The name of the block is taken from the first CSS class.

Returns the name of the first element of the current set of jQuery objects. The name of the element is taken from the first CSS class.

Returns a list of matched blocks, containing in the current set of jQuery objects.

Returns a list of matched elements, containing in the current set of jQuery objects. The name of the block for the element is taken each time from the jQuery object in the current set of jQuery objects.

Determines whether any of the set of jQuery objects has the modifier(s).

Determines whether the first jQuery object of the set of jQuery objects is a block.

Determines whether the first jQuery object of the set of jQuery objects is an element.

Returns the value of the modifier of the first block or element of the current set of jQuery objects.

Removes the modifier(s) from each block or element of the current set of jQuery objects. This method retains chaining.

Clone this wiki locally