All Projects → bem-contrib → bem-animations

bem-contrib / bem-animations

Licence: MIT license
🔔 Easy and Fast in use (based on Animate CSS)

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to bem-animations

Synergy
Synergy is a framework for building modular, configurable and scalable UI components for React-DOM projects
Stars: ✭ 146 (+1023.08%)
Mutual labels:  bem
hyper
🎨 Hyper: A component-first CSS design system.
Stars: ✭ 26 (+100%)
Mutual labels:  bem
openmeeg
A C++ package for low-frequency bio-electromagnetism solving forward problems in the field of EEG and MEG.
Stars: ✭ 62 (+376.92%)
Mutual labels:  bem
Blog
这是一个Blog, 如果喜欢可以订阅,是Watch, 不是 Star 哈。。。
Stars: ✭ 161 (+1138.46%)
Mutual labels:  bem
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (+1653.85%)
Mutual labels:  bem
luxe
Luxe is a WordPress starter theme using a modern workflow and best practices.
Stars: ✭ 22 (+69.23%)
Mutual labels:  bem
Skin
Pure CSS framework designed & developed by eBay for a branded, e-commerce marketplace.
Stars: ✭ 126 (+869.23%)
Mutual labels:  bem
ekzo
💫 Functional Sass framework for rapid and painless development
Stars: ✭ 32 (+146.15%)
Mutual labels:  bem
bem-react-boilerplate
DEPRECATED! A bare minimum frontend boilerplate based on create-react-app and bem-react-core.
Stars: ✭ 32 (+146.15%)
Mutual labels:  bem
marmelad
Заготовка фронтенд проекта для продвинутых и начинающих 🤘. Хорошо подходит для поддержания единой структуры проектов в команде и легкого переиспользования готовых блоков между проектами.
Stars: ✭ 15 (+15.38%)
Mutual labels:  bem
Bolt
The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
Stars: ✭ 186 (+1330.77%)
Mutual labels:  bem
Yandex Ui
Yandex UI Kit build on React and bem-react
Stars: ✭ 229 (+1661.54%)
Mutual labels:  bem
vue-simple-bem
A simple Vue.js directive to map BEM CSS class names.
Stars: ✭ 17 (+30.77%)
Mutual labels:  bem
Bemify
Sass Mixins to write BEM-style SCSS source
Stars: ✭ 149 (+1046.15%)
Mutual labels:  bem
is-my-train-delayed
An Angular web app built on Heroku with Node & Express. Shows information about delayed trains, and displays that in an easily consumable manner.
Stars: ✭ 15 (+15.38%)
Mutual labels:  bem
Enb
Tool for building web projects, BEM bundler.
Stars: ✭ 136 (+946.15%)
Mutual labels:  bem
ts-react-boilerplate
A very opinionated (React/TypeScript/Redux/etc) frontend boilerplate
Stars: ✭ 43 (+230.77%)
Mutual labels:  bem
enb-bem-techs
ENB package to build BEM-projects
Stars: ✭ 23 (+76.92%)
Mutual labels:  bem
vue-bem-cn
✅ vue-bem-cn - Simple BEM class name generator for Vue.JS
Stars: ✭ 124 (+853.85%)
Mutual labels:  bem
dumb-bem
Simple BEM react components generator
Stars: ✭ 32 (+146.15%)
Mutual labels:  bem

bem-animations

Библиотека готовых CSS-анимаций для БЭМ-платформы, основанная на Animate.CSS. Портирована для тех, кто не хочет каждый раз настраивать анимации вручную.

Прятной разработки! ;)

Подключение

на примере project-stub

Шаг №1

bower install bem-contrib/bem-animations --save

Шаг №2

в .enb/make.js подключить уровни

const levels = [
    // ...другие уровни
    { path : 'libs/bem-animations/@common', check : false }
]

Использование

Шаг №1

Подключить нужную анимацию в deps.js блока (my-block/my-block.deps.js)

[{
    shouldDeps : [
        { 
            block : 'animation', 
            mods : { type : 'fade-in-down' } 
        }
    ]
}]

Шаг №2

Примиксовать блок анимации в BEMTREE/BEMHTML

{
    block : 'my-block',
    mix : [{ block : 'animation' }]
}

Шаг №3

Подключить (необходимо только в bem-core@v4) в YModules, и использовать блок анимации в i-bem

modules.define('my-block',
    ['i-bem-dom', 'animation'],
    function(provide, bemDom, Animation) {

provide(bemDom.declBlock(this.name, {
    onSetMod : {
        js : {
            inited : function() {
                const anim = this.findMixedBlock(Animation);
                
                anim.start('fade-in-down');
            }
        }
    }
}));

});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].