Info
Version: | 1.0.3 |
Author(s): | Robert Hoffmann, Tero Piirainen |
Last Update: | Friday, November 22, 2013 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://headjs.com |
NuGet Url: | https://www.nuget.org/packages/HeadJS |
Install
Install-Package HeadJS
dotnet add package HeadJS
paket add HeadJS
HeadJS Download (Unzip the "nupkg" after downloading)
Dependencies
2 packages depend on this package.
Tags
* Asset Loader: Load scripts and stylesheets when you need them.
head.load("file1.js" , "file2.js" , function() { done(); })
head.load("file1.css", "file2.css", function() { done(); })
* JavaScript Organizer: Defer execution to the bottom of page.
head.ready(function() { imReady(); })
* Responsive Design: Detect and react to resolutions with simple css classes or js tests that work without media query support.
.landscape, .lt-800, .gt-1680, if (head.mobile) { }
* Browser Detection: Detect browsers & their version, and apply css or js logic to them.
.gt-ie6, .lt-ie10, if (head.browser.ios) { }
* Feature Detection: Detect browser features like cssreflections, touch-enabled
.no-touch if (!head.touch) { }
* CSS Moderniser: Detect css support like box-shadow, border-radius
.no-borderradius, if (!head.borderradius) { }
* CSS Router: Detect which page and section someone is on and target it with specific css.
.index-page, .register-page, .root-section, .user-section,
* HTML5 Shim: Need to support the new HTML5 tags in older browsers ? No problem !.