Can I use the slider's device detection code?

Sure, you can use it on the pages, where our slider loads. We are using this JavaScript library:

and you can see examples on that page, how you can use it. Also here is a simple one:

var md = new MobileDetect(window.navigator.userAgent);
	console.log('this is a phone');
} else if(md.tablet()){
	console.log('this is a tablet');
} else {
	console.log('this is a computer');

Please note, that some devices are returned as both tablet and mobile, since the difference between "tablet" and "mobile" nowadays are only based on what a company calls them, but in size and functionality you couldn't tell them apart.