public function enqueueJQueryAnimateCssLibs(bool $with_styles = false)
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        $data = [
            'scripts' => [
                'jquery-animate-css' => [
                    'version' => '1.2.1',
                    'deps'    => ['jquery'],
                    'url'     => '//cdnjs.cloudflare.com/ajax/libs/animateCSS/%1$s/jquery.animatecss.min.js',
                ],
            ],
        ];
        if ($with_styles) { // It's generally unnecessary to load all of these animation styles.
            // Instead, steal the ones you need an include individually in your own CSS please.
            $data['styles'] = [
                'animate-css' => [
                    'version' => '3.5.2',
                    'url'     => '//cdnjs.cloudflare.com/ajax/libs/animate.css/%1$s/animate.min.css',
                ],
            ];
        }
        return $this->enqueueLibs(__METHOD__, $data);
    }
public function enqueueJQueryAnimateCssLibs(bool $with_styles = false)
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        $data = [
            'scripts' => [
                'jquery-animate-css' => [
                    'version' => '1.2.1',
                    'deps'    => ['jquery'],
                    'url'     => '//cdnjs.cloudflare.com/ajax/libs/animateCSS/%1$s/jquery.animatecss.min.js',
                ],
            ],
        ];
        if ($with_styles) { // It's generally unnecessary to load all of these animation styles.
            // Instead, steal the ones you need an include individually in your own CSS please.
            $data['styles'] = [
                'animate-css' => [
                    'version' => '3.5.2',
                    'url'     => '//cdnjs.cloudflare.com/ajax/libs/animate.css/%1$s/animate.min.css',
                ],
            ];
        }
        return $this->enqueueLibs(__METHOD__, $data);
    }
public function enqueueJQueryAnimateCssLibs ( bool $ with_styles = false ) { if ( ( $ data = $ this -> didEnqueueLibs ( __METHOD__ ) ) ) { return $ data ; // Did this already. } // We only need to enqueue once. $ data = [ 'scripts' => [ 'jquery-animate-css' => [ 'version' => '1.2.1' , 'deps' => [ 'jquery' ] , 'url' => '//cdnjs.cloudflare.com/ajax/libs/animateCSS/%1$s/jquery.animatecss.min.js' , ] , ] , ] ; if ( $ with_styles ) { // It's generally unnecessary to load all of these animation styles. // Instead, steal the ones you need an include individually in your own CSS please. $ data [ 'styles' ] = [ 'animate-css' => [ 'version' => '3.5.2' , 'url' => '//cdnjs.cloudflare.com/ajax/libs/animate.css/%1$s/animate.min.css' , ] , ] ; } return $ this -> enqueueLibs ( __METHOD__ , $ data ) ; }
Enqueue jQuery animate.css libs.

@since 170128.18158 jQuery animate.css libs.

@param bool $with_styles Enqueue styles too?

@return array Library details.
Enqueue jQuery animate . css libs .