Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples #1

Open
belozer opened this issue Oct 31, 2016 · 1 comment
Open

Examples #1

belozer opened this issue Oct 31, 2016 · 1 comment
Labels

Comments

@belozer
Copy link
Member

belozer commented Oct 31, 2016

No description provided.

@belozer
Copy link
Member Author

belozer commented Nov 3, 2016

bem-animations

    /**
     * Показ блока подтверждения удаления
     * @return {object} this block
     */
    _showRemoveConfirm: function() {
      this._removeConfirm.findMixedBlock(Animation)
      .setMod('speed', '5')
      .start('zoom-in');

      this._removeButton.findMixedBlock(Animation)
      .setMod('speed', '5')
      .start('zoom-out', true);

      return this;
    },

    /**
     * Скрытие блока подтверждения удаления
     * @return {object} this block
     */
    _hideRemoveConfirm: function() {
      this._removeConfirm.findMixedBlock(Animation)
      .setMod('speed', '3')
      .start('zoom-out', true);

      this._removeButton.findMixedBlock(Animation)
      .setMod('speed', '5')
      .start('zoom-in');

      return this;
    }

@belozer belozer changed the title Write exapmles Exapmles Nov 3, 2016
@belozer belozer changed the title Exapmles Examples Nov 3, 2016
@belozer belozer added the docs label Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant