Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Device checks (Mobile/Tablet) #120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anishbvoice
Copy link
Collaborator

This PR is for Adding device check in to the library.
These two functions are repeatedly getting written in all the swat applications.
We can keep it in the same place.

Usage:
var Device = require('bv-ui-core/lib/cookie');
Device.isMobile();
Device.isTablet();

@anishbvoice anishbvoice changed the title Adding Device checks Adding Device checks (Mobile/Tablet) Jun 22, 2022
@sonarqube-devops-platform
Copy link

@@ -0,0 +1,10 @@
#checkDevice
This is a small method to check whether the device user is using Mobile/Tablet.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please suggest better lines.
Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant