Skip to content
This repository was archived by the owner on Dec 14, 2019. It is now read-only.

Latest commit

 

History

History
84 lines (49 loc) · 2.53 KB

File metadata and controls

84 lines (49 loc) · 2.53 KB

1.2.1 - 2019-04-07

Adds

  • Adds: SASS mixin uses custom is-touching class

Removes

  • Removes: SASS mixin no longer uses data-touched attribute

1.2.0 - 2019-03-30

Adds

  • Adds: Public static DeviceManager.connection variable that can be used for easily accessing the NetworkInformation API
  • Adds: Custom status classes based on the devices connection type/strength

1.1.0 - 2019-03-28

Adds

  • Adds: custom element touch tracking via the .js-touch class
  • Adds: touch events set the data-touched attribute to true or false based on if the user is touching the element
  • Adds: custom SASS mixin for using the data-touched attribute as a custom :hover alternative 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 Pjax and the reinit() method

Fixes

  • Fixes: updates readme to include documentation and example of the new touch tracking system

1.0.2 - 2019-03-23

Adds

  • Adds: inline documentation
  • Adds: readme documentation

1.0.1 - 2019-03-10

Adds

  • Adds: http-server and initial /docs setup for adding the GitHub demo

Fixes

  • Fixes: issues where the Microsoft browsers were being labeled incorrectly #4

1.0.0 - 2019-03-06

Fixes

  • Fixes: static functions are called anonymously so they return the booleans value instead of the function itself

0.0.4 - 2019-03-05

Fixes

  • Fixes: adds public static supportsTouch function

0.0.3 - 2019-03-05

Fixes

  • Fixes: includes the static funcitons in the global.d.ts file

0.0.2 - 2019-03-05

Fixes

  • Fixes: includes the global.d.ts file in the npm package

0.0.1 - 2019-03-05

Adds

  • Adds: new DeviceManager class manages the browsers device status classes
  • Adds: public static isChrome method for checking if the browser is Chrome
  • Adds: public static isIE method for checking if the browser is Internet Explorer
  • Adds: public static isEdge method for checking if the browser is Edge
  • Adds: public static isFirefox method for checking if the browser is Firefox
  • Adds: public static isOpera method for checking if the browser is Opera
  • Adds: public static isSafari method for checking if the browser is Safari
  • Adds: public static isBlinkEngine method for checking if the browser is using the Blink Engine