Skip to content

florianperreon/OverlayBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A bundle that contains a fullscreen loader

Dependency

This bundle requires:

  • jquery
  • jquery loader plugin

Installation

    composer require a5sys/overlay-bundle

In AppKernel.php

    new A5sys\OverlayBundle\OverlayBundle(),

Files to include in your template

At the beginning of your body:

    {% include '@Overlay/overlay.html.twig' %}

The css to include:

    '@OverlayBundle/Resources/public/css/overlay.css'

The js to include:

    '@OverlayBundle/Resources/public/js/jquery-loading-ajax-body-overlay.js'

Use

It will display the overlay when an ajax call is done by jQuery.

About

The required assets to display overlays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 90.3%
  • PHP 6.2%
  • HTML 3.5%