src/helpers/Element.php
public static function animatedButton($visible, $hidden, $options = [])
    {
        $hOptions = ArrayHelper::remove($options, 'hidden', []);
        $vOptions = ArrayHelper::remove($options, 'visible', []);
        Ui::addCssClasses($options, ['ui', 'animated', 'button']);
        Ui::addCssClasses($hOptions, ['hidden', 'content']);
        Ui::addCssClasses($vOptions, ['visible', 'content']);
        $lines = [];
        $lines[] = Ui::tag('div', $hidden, $hOptions);
        $lines[] = Ui::tag('div', $visible, $vOptions);

        return Ui::tag('div', implode("\n", $lines), $options);

    }
public static function animatedButton($visible, $hidden, $options = [])
    {
        $hOptions = ArrayHelper::remove($options, 'hidden', []);
        $vOptions = ArrayHelper::remove($options, 'visible', []);
        Ui::addCssClasses($options, ['ui', 'animated', 'button']);
        Ui::addCssClasses($hOptions, ['hidden', 'content']);
        Ui::addCssClasses($vOptions, ['visible', 'content']);
        $lines = [];
        $lines[] = Ui::tag('div', $hidden, $hOptions);
        $lines[] = Ui::tag('div', $visible, $vOptions);

        return Ui::tag('div', implode("\n", $lines), $options);

    }
Generates an [animated button](http://semantic-ui.com/elements/button.html#animated)

@param string $visible the initial and visible content of the button
@param string $hidden the hidden content of the button. It will be displayed when the button is "on hover" state.
@param array $options the tag options in terms of name-value pairs.

@return string the generated animated button tag