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');