EN
RU
Forum
Libraries
Classic BEM libraries
bem-core
4.1.1
4.2.1
4.2.0
4.1.0
4.0.0
3.2.0
3.1.0
3.0.1
2.9.0
Methodology
Quick start
Key concepts
Naming convention
CSS
HTML
JavaScript
File structure
Redefinition level
Block modification
Build
Declarations
Solved problems
History
Articles
FAQ
Technology
Classical BEM stack
Data (BEMJSON)
Templates (BEMHTML, BEMTREE)
Client-side JavaScript (i-bem.js)
Dependencies
DEPS specification
Project stub
bem-react
Why BEM?
classname
core
di
Toolbox
ENB
API
Technologies for working with files
Using the command line
Terminology
How to build a project
How to write a technology
Automation with express
ENB packages
bemhint
CSS naming
File naming
DEPS schema
DEPS specification
bem-tools
bemmet
SDK
@bem/sdk.walk
@bem/sdk.config
@bem/sdk.naming.entity
@bem/sdk.naming.cell.stringify
@bem/sdk.naming.cell.pattern-parser
@bem/sdk.naming.file.stringify
@bem/sdk.decl
@bem/sdk.bemjson-to-decl
@bem/sdk.bemjson-to-jsx
@bem/sdk.import-notation
@bem/sdk.graph
@bem/sdk.deps
@bem/sdk.entity-name
@bem/sdk.file
@bem/sdk.cell
@bem/sdk.bundle
@bem/sdk.bemjson-node
Libraries
Classic BEM libraries
bem-core
bem-components
bem-history
Principles of BEM library development
Tutorials
Classical BEM stack
Creating a static page
Starting a static BEM project
Starting a dynamic BEM project
i-bem.js tutorial
Dist bem-components: adding blocks to a page
desktop
clearfix
cookie
dom
events
functions
i-bem
i-bem-dom
i18n
identify
idle
inherit
jquery
keyboard
loader
next-tick
objects
page
strings
tick
ua
uri
vow
touch-pad
clearfix
cookie
dom
events
functions
i-bem
i-bem-dom
i18n
identify
idle
inherit
jquery
keyboard
loader
next-tick
objects
page
strings
tick
ua
uri
vow
touch-phone
clearfix
cookie
dom
events
functions
i-bem
i-bem-dom
i18n
identify
idle
inherit
jquery
keyboard
loader
next-tick
objects
page
strings
tick
ua
uri
vow
JSDoc
Source
i-bem
Object methods:
Block
Elem
entities
declBlock
declElem
declMixin
i-bem__internal
Object methods:
buildClassName
buildClassNames
Module i-bem
Object methods:
Block
()
description
Block class
Elem
()
description
Elem class
entities
()
description
Storage for block declarations (hash by block name)
declBlock
(
blockName
,
[base]
,
[props]
,
[staticProps]
)
:Function
description
Declares block and creates a block class
parameters
blockName
String, Function
Block name or block class
base
Function, [object Object]
base block + mixes
props
Object
Methods
staticProps
Object
Static methods
declElem
(
[blockName]
,
elemName
,
[base]
,
[props]
,
[staticProps]
)
:Function
description
Declares elem and creates an elem class
parameters
blockName
String
Block name
elemName
String, Function
Elem name or elem class
base
Function, Function
base elem + mixes
props
Object
Methods
staticProps
Object
Static methods
declMixin
(
[props]
,
[staticProps]
)
:Function
description
Declares mixin
parameters
props
Object
Methods
staticProps
Object
Static methods
i-bem__internal
Object methods:
buildClassName
(
block
,
[elem]
,
[modName]
,
[modVal]
)
:String
description
Builds the class name of a block or element with a modifier
parameters
block
String
Block name
elem
String
Element name
modName
String
Modifier name
modVal
String, Number
Modifier value
buildClassNames
(
block
,
[elem]
,
[mods]
)
:String
description
Builds full class names for a buffer or element with modifiers
parameters
block
String
Block name
elem
String
Element name
mods
Object
Modifiers
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/i-bem.deps.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/i-bem.en.title.txt
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/i-bem.ru.md
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/i-bem.ru.title.txt
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/i-bem.spec.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/i-bem.vanilla.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/__collection/i-bem__collection.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/__collection/i-bem__collection.spec.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/__internal/i-bem__internal.ru.title.txt
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/__internal/i-bem__internal.spec.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/i-bem/__internal/i-bem__internal.vanilla.js