- Adds: SASS mixin uses custom
is-touchingclass
- Removes: SASS mixin no longer uses
data-touchedattribute
- Adds: Public static
DeviceManager.connectionvariable that can be used for easily accessing the NetworkInformation API - Adds: Custom status classes based on the devices connection type/strength
- Adds: custom element touch tracking via the
.js-touchclass - Adds: touch events set the
data-touchedattribute totrueorfalsebased on if the user is touching the element - Adds: custom SASS mixin for using the
data-touchedattribute as a custom:hoveralternative for touch devices - Adds: new public
reinit()method that can be used to purge old touch elements after a page transition - Adds: updates demo to showcase the ability to dynamically manage custom touch inputs using
Pjaxand thereinit()method
- Fixes: updates readme to include documentation and example of the new touch tracking system
- Adds: inline documentation
- Adds: readme documentation
- Adds:
http-serverand initial/docssetup for adding the GitHub demo
- Fixes: issues where the Microsoft browsers were being labeled incorrectly #4
- Fixes: static functions are called anonymously so they return the booleans value instead of the function itself
- Fixes: adds public static
supportsTouchfunction
- Fixes: includes the static funcitons in the
global.d.tsfile
- Fixes: includes the
global.d.tsfile in the npm package
- Adds: new
DeviceManagerclass manages the browsers device status classes - Adds: public static
isChromemethod for checking if the browser is Chrome - Adds: public static
isIEmethod for checking if the browser is Internet Explorer - Adds: public static
isEdgemethod for checking if the browser is Edge - Adds: public static
isFirefoxmethod for checking if the browser is Firefox - Adds: public static
isOperamethod for checking if the browser is Opera - Adds: public static
isSafarimethod for checking if the browser is Safari - Adds: public static
isBlinkEnginemethod for checking if the browser is using the Blink Engine