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
dom
Object methods:
contains
getFocused
containsFocus
isFocusable
isEditable
Module dom
some DOM utils
Object methods:
contains
(
ctx
,
domElem
)
:Boolean
description
Checks whether a DOM elem is in a context
parameters
ctx
jQuery
DOM elem where check is being performed
domElem
jQuery
DOM elem to check
getFocused
()
:jQuery
description
Returns current focused DOM elem in document
containsFocus
(
domElem
)
:Boolean
description
Checks whether a DOM element contains focus
parameters
domElem
jQuery
isFocusable
(
domElem
)
:Boolean
description
Checks whether a browser currently can set focus on DOM elem
parameters
domElem
jQuery
isEditable
(
domElem
)
:Boolean
description
Checks whether a domElem is intended to edit text
parameters
domElem
jQuery
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/dom/dom.deps.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/dom/dom.js
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/dom/dom.ru.md
https://github.com/bem/bem-core/blob/v4.1.1/common.blocks/dom/dom.spec.js