-
Define directive in template for each block from bem-components.
In directives:
- provide [support of ngModel](https://github.com/angular/angular.js/blob/master/src/ng/directive/input.js#L1411)
- expo…
Guria updated
9 years ago
-
BEMJSON:
```js
{
block: 'b1',
mix: 'b2'
}
```
BEMHTML:
```js
block('b2')(
addMods()('b3')
);
```
Result:
```html
```
Expected:
```html
```
http://bem.github.…
-
Проверил возможность использовать БЭМ-стек в песочницах. Учитывая наличие dist-поставки [bem-core-dist](https://github.com/bem/bem-core-dist) и [bem-components-dist](https://github.com/bem/bem-compone…
ilyar updated
7 years ago
-
Суть: получить виртуальное BEM-дерево в виде Immutable BEMJSON, из которого получать реальный (а может виртуальный) DOM тогда, когда меняется BEMJSON.
Например, с помощью этого: https://github.com/fa…
-
We should document this primal object to show why it was separated out of the rest.
At least, there should be examples of usage:
```
const bundle = new BemBundle({path: ...});
```
-
Добрый день
По умолчанию project stub стили для /desktop.bundles/index/index.bemjson.js ищет в папках /common.blocks и /desktop.blocks
Как сделать так, чтобы он искал например только в /desktop.…
-
index.bemjson.js:
block : 'information',
content : [
{
block : 'telephone',
content : [
{
elem : 'phone-number',
content : '8 (831) 28…
-
Добрый день. Немного разобравшись в структуре project-stub, передо мной встал простой вопрос. Нужно сделать запрос на какой-нибудь бэкенд и получить json с однотипными данными (элементами). Затем map-…
-
E.g. with https://github.com/beatgammit/gzip-js and https://github.com/dankogai/js-base64
-
В документации написано, что
- синтаксис BEMHTML и BEMTREE почти идентичен.
- BEMTREE использует синтаксис-BEM-XJST и сохраняет все особенности BEM-XJST-шаблонизаторов.
На практике использую синтак…