fab.touch v1.2.1
BuzzingPixel Fabricator Touch Functions
While this component is designed with the BuzzingPixel Fabricator Build Process in mind, it can be used anywhere (in theory).
Installing
With Fabricator and NPM, simply require this library into your project and restart the Fabricator Grunt build process.
npm install fab.touch --save
If you are not using Fabricator, you will need to in some manner compile src/FAB.touch.js
into your build process or put it somewhere where you can link it into your projects.
Usage
The Fabricator touch API currently only has one method, and that is to check if the current device is a touchscreen or not.
FAB.touch.support();
Returns a boolean.
License
Copyright 2017 TJ Draper, BuzzingPixel, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.