-
Два вопроса:
1. Очень интересует где я могу включить доп. опции для шаблонов, такие как закрытие одиночных элементов, аттрибуты без кавычек - читал тут https://ru.bem.info/platform/bem-xjst/8/api/
И…
-
Всем привет. Почему если в списке шаблонов для элемента есть шаблон с указанием имени сущности `block('*').elem('*')` он или не применяет свой режим или блокирует дальнейший поиск подходящих wildcard …
-
NDA: https://nda.ya.ru/3TbbRp (task for turbo)
-
Всем привет.
В документации написано следующее:
> [JS-параметры. Если значение не falsy, то **миксует i-bem** и добавляет содержимое в JS-параметры.](https://github.com/bem/bem-xjst/blob/b832e39…
-
### Input code or something about issue background
https://goo.gl/FR27oN
```js
// BEMJSON
([
{ block: 'b1', cls: 'anything' },
{ block: 'b1' }
]);
// templates
block('b1')(
bem()…
-
`addAttrs`, `addCls`, `addMods`, `addStyle` and etc.
-
Before:
```js
block('a').tag()('span')
```
After:
```js
block('a')({ tag: 'span' })
```
Before:
```js
block('a')(
tag()('span'),
addMix()({ block: 'x' }),
mods()({ mod: 'v…
-
input bemjson
```
([
{ block: 'link', c : 2 },
]);
```
template
```
block('link')(
match((node, ctx) => ctx.c)
.extend()((node, ctx) => ({
'ctx.mods' : node.…
-
### Input code or something about issue background
Since: https://github.com/bem/bem-xjst/commit/9d230c552f0f5fd46cf2a8f90f7ed987c4391836
Because of: https://github.com/bem/bem-xjst/blob/master/li…
-
В `bem-react-core` возможно такое переопределение https://goo.gl/XWUM6W
```javascript
[
{
block: 'foo',
content: {
elem: 'bar',
content: 'baz'
…
ilyar updated
6 years ago