Skip to content

Declarations for element with modification #12

@an-mmx

Description

@an-mmx

It would be good to declare templates for element with declaration.
For example:

BEM.JSON.decl({
    block: 'form',
    elem: 'input',
    modName: 'type',
    modVal: 'checkbox'
}, {
    onElem: function (ctx) {
        // do something
    }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions