contao-module classjs
This extension adds the class "no-js" to the html tag and replaces it with the class "js" if JavaScript is enabled.
lionel/classjs
This extension adds the class "no-js" to the html tag and replaces it with the class "js" if JavaScript is enabled.
- Saturday, February 4, 2017
- by lionel
- Repository
- 2 Watchers
- 1 Stars
- 16 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
Add the class "no-js" or "js" if JavaScript is enabled or not (Contao CMS)
, (*1)
This extension adds the default no-js
class. It replaces the class no-js
with js
if JavaScript is enabled., (*2)
<html class="no-js">
...
</html>
Installation
Add "lionel/classjs": "~3.0"
in the composer.json
file., (*3)
Add new LionelM\ClassJsBundle\LionelMClassJsBundle(),
in the app/AppKernel.php
file., (*4)
Run the command php composer.phar update classjs
., (*5)
dev-master
9999999-dev
This extension adds the class "no-js" to the html tag and replaces it with the class "js" if JavaScript is enabled.
Sources
Download
MIT
The Requires
js
classjs
3.0.0
3.0.0.0
This extension adds the class "no-js" to the html tag and replaces it with the class "js" if JavaScript is enabled.
Sources
Download
MIT
The Requires
js
classjs
dev-contao-3
dev-contao-3
This extension adds the class "no-js" to the html tag and replaces it with the class "js" if JavaScript is enabled.
Sources
Download
MIT
The Requires
js
classjs
2.0.0
2.0.0.0
This extension adds the class "no-js" to the html tag and replaces it with the class "js" if JavaScript is enabled.
Sources
Download
MIT
The Requires
js
classjs