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
cookie
Object methods:
get
set
Module cookie
Inspired from $.cookie plugin by Klaus Hartl (stilbuero.de)
Object methods:
get
(
name
)
:String,null
description
Returns cookie by given name
parameters
name
String
set
(
name
,
val
,
options
)
:cookie
description
Sets cookie by given name
parameters
name
String
val
String
options
Object
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/cookie/cookie.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/cookie/cookie.ru.md
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/cookie/cookie.spec.js