HeadJS 1.0.3
dotnet add package HeadJS --version 1.0.3
NuGet\Install-Package HeadJS -Version 1.0.3
<PackageReference Include="HeadJS" Version="1.0.3" />
paket add HeadJS --version 1.0.3
#r "nuget: HeadJS, 1.0.3"
// Install HeadJS as a Cake Addin #addin nuget:?package=HeadJS&version=1.0.3 // Install HeadJS as a Cake Tool #tool nuget:?package=HeadJS&version=1.0.3
At under 5K minified & gzipped HeadJS provides you with:
* 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 !
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.