UNPKG

esoftplay-ppob

Version:

ppob module on esoftplay framework

16 lines (13 loc) 343 B
// useLibs // noPage import { LibStyle } from 'esoftplay/cache/lib/style/import'; export default function m(phone: number, tab7: number, tab10: number): number { const deviceWidth = LibStyle.width let device = phone if (deviceWidth > 1000) { device = tab10 } else if (deviceWidth > 600) { device = tab7 } return device }