Skip to content

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