bem / bem-components

Set of components for sites development
https://bem.info/libraries/classic/bem-components/6.0.0/
Other
333 stars 87 forks source link

attach: Drop "buttonText" field from block's BEMJSON API #296

Closed narqo closed 10 years ago

narqo commented 10 years ago

BEMJSON for block attach could be specified as

{ block : 'attach', buttonText : 'text', /* .. */ }

and

{ block : 'attach', button : { block : 'button' }, /* .. */ }

Guess we could drop support for buttonText field and use polymorphic button, like we do in dropdown.

\cc @veged @dfilatov

dfilatov commented 10 years ago

:+1:

veged commented 10 years ago

+1